Lines Matching refs:bsscfg
435 brcms_c_bsscfg_mfree(wlc->bsscfg); in brcms_c_detach_mfree()
531 wlc->bsscfg = brcms_c_bsscfg_malloc(unit); in brcms_c_attach_malloc()
532 if (wlc->bsscfg == NULL) { in brcms_c_attach_malloc()
1061 if (wlc->bsscfg->type == BRCMS_TYPE_ADHOC) in brcms_c_tbtt()
2155 wlc->bsscfg->type = BRCMS_TYPE_STATION; in brcms_c_start_station()
2164 memcpy(wlc->bsscfg->BSSID, bssid, sizeof(wlc->bsscfg->BSSID)); in brcms_c_start_ap()
2165 wlc->bsscfg->type = BRCMS_TYPE_AP; in brcms_c_start_ap()
2173 wlc->bsscfg->type = BRCMS_TYPE_ADHOC; in brcms_c_start_adhoc()
3754 static void brcms_c_set_mac(struct brcms_bss_cfg *bsscfg) in brcms_c_set_mac() argument
3756 struct brcms_c_info *wlc = bsscfg->wlc; in brcms_c_set_mac()
3767 static void brcms_c_set_bssid(struct brcms_bss_cfg *bsscfg) in brcms_c_set_bssid() argument
3770 brcms_c_set_addrmatch(bsscfg->wlc, RCM_BSSID_OFFSET, bsscfg->BSSID); in brcms_c_set_bssid()
3775 u8 len = min_t(u8, sizeof(wlc->bsscfg->SSID), ssid_len); in brcms_c_set_ssid()
3776 memset(wlc->bsscfg->SSID, 0, sizeof(wlc->bsscfg->SSID)); in brcms_c_set_ssid()
3778 memcpy(wlc->bsscfg->SSID, ssid, len); in brcms_c_set_ssid()
3779 wlc->bsscfg->SSID_len = len; in brcms_c_set_ssid()
3817 wlc->bsscfg->current_bss->chanspec = chanspec; in brcms_c_set_home_chanspec()
5025 struct brcms_bss_cfg *bsscfg = wlc->bsscfg; in brcms_c_up() local
5028 if (bsscfg->type == BRCMS_TYPE_STATION || in brcms_c_up()
5029 bsscfg->type == BRCMS_TYPE_ADHOC) in brcms_c_up()
5427 rs = &wlc->bsscfg->current_bss->rateset; in brcms_c_get_current_rateset()
5454 mcsset_bss = wlc->bsscfg->current_bss; in brcms_c_set_rateset()
5657 bcmc_fid_generate(struct brcms_c_info *wlc, struct brcms_bss_cfg *bsscfg, in bcmc_fid_generate() argument
7335 struct brcms_bss_cfg *bsscfg = wlc->bsscfg; in brcms_c_update_beacon() local
7337 if (wlc->pub->up && (bsscfg->type == BRCMS_TYPE_AP || in brcms_c_update_beacon()
7338 bsscfg->type == BRCMS_TYPE_ADHOC)) { in brcms_c_update_beacon()
7444 struct brcms_bss_cfg *bsscfg = wlc->bsscfg; in brcms_c_update_probe_resp() local
7447 if (wlc->pub->up && (bsscfg->type == BRCMS_TYPE_AP || in brcms_c_update_probe_resp()
7448 bsscfg->type == BRCMS_TYPE_ADHOC)) { in brcms_c_update_probe_resp()
7451 brcms_c_bss_update_probe_resp(wlc, bsscfg, wlc->probe_resp, in brcms_c_update_probe_resp()
7473 memcpy(wlc->bsscfg->BSSID, addr, ETH_ALEN); in brcms_c_set_addrmatch()
7805 brcms_c_set_mac(wlc->bsscfg); in brcms_c_init()
7806 brcms_c_set_bssid(wlc->bsscfg); in brcms_c_init()
7813 bi = wlc->bsscfg->current_bss->beacon_period << 10; in brcms_c_init()
8030 wlc->bsscfg->wlc = wlc; in brcms_c_attach()