Home
last modified time | relevance | path

Searched refs:bss (Results 1 – 25 of 134) sorted by relevance

123456

/linux-2.6.39/drivers/net/wireless/orinoco/
Dscan.c75 const union hermes_scan_info *bss) in orinoco_add_hostscan_result() argument
89 len = le16_to_cpu(bss->a.essid_len); in orinoco_add_hostscan_result()
94 memcpy(&ie_buf[2], bss->a.essid, len); in orinoco_add_hostscan_result()
100 ie_len += symbol_build_supp_rates(ie, bss->s.rates); in orinoco_add_hostscan_result()
104 ie_len += prism_build_supp_rates(ie, bss->p.rates); in orinoco_add_hostscan_result()
112 freq = ieee80211_dsss_chan_to_freq(le16_to_cpu(bss->a.channel)); in orinoco_add_hostscan_result()
116 bss->a.channel, freq); in orinoco_add_hostscan_result()
120 capability = le16_to_cpu(bss->a.capabilities); in orinoco_add_hostscan_result()
121 beacon_interval = le16_to_cpu(bss->a.beacon_interv); in orinoco_add_hostscan_result()
122 signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); in orinoco_add_hostscan_result()
[all …]
/linux-2.6.39/net/wireless/
Dscan.c98 struct cfg80211_internal_bss *bss; in bss_release() local
100 bss = container_of(ref, struct cfg80211_internal_bss, ref); in bss_release()
101 if (bss->pub.free_priv) in bss_release()
102 bss->pub.free_priv(&bss->pub); in bss_release()
104 if (bss->beacon_ies_allocated) in bss_release()
105 kfree(bss->pub.beacon_ies); in bss_release()
106 if (bss->proberesp_ies_allocated) in bss_release()
107 kfree(bss->pub.proberesp_ies); in bss_release()
109 BUG_ON(atomic_read(&bss->hold)); in bss_release()
111 kfree(bss); in bss_release()
[all …]
Dmlme.c65 struct cfg80211_internal_bss *bss = NULL; in cfg80211_send_rx_assoc() local
89 bss = wdev->auth_bsses[i]; in cfg80211_send_rx_assoc()
92 cfg80211_ref_bss(bss); in cfg80211_send_rx_assoc()
107 if (!bss) in cfg80211_send_rx_assoc()
131 bss ? &bss->pub : NULL); in cfg80211_send_rx_assoc()
133 if (bss) { in cfg80211_send_rx_assoc()
134 cfg80211_unhold_bss(bss); in cfg80211_send_rx_assoc()
135 cfg80211_put_bss(&bss->pub); in cfg80211_send_rx_assoc()
409 struct cfg80211_internal_bss *bss; in __cfg80211_mlme_auth() local
439 req.bss = cfg80211_get_bss(&rdev->wiphy, chan, bssid, ssid, ssid_len, in __cfg80211_mlme_auth()
[all …]
Dsme.c245 struct cfg80211_bss *bss; in cfg80211_get_conn_bss() local
253 bss = cfg80211_get_bss(wdev->wiphy, NULL, wdev->conn->params.bssid, in cfg80211_get_conn_bss()
258 if (!bss) in cfg80211_get_conn_bss()
261 memcpy(wdev->conn->bssid, bss->bssid, ETH_ALEN); in cfg80211_get_conn_bss()
263 wdev->conn->params.channel = bss->channel; in cfg80211_get_conn_bss()
267 return bss; in cfg80211_get_conn_bss()
274 struct cfg80211_bss *bss; in __cfg80211_sme_scan_done() local
288 bss = cfg80211_get_conn_bss(wdev); in __cfg80211_sme_scan_done()
289 if (bss) { in __cfg80211_sme_scan_done()
290 cfg80211_put_bss(bss); in __cfg80211_sme_scan_done()
[all …]
/linux-2.6.39/drivers/staging/ath6kl/wlan/src/
Dwlan_node.c328 bss_t *bss, *nextBss; in wlan_refresh_inactive_nodes() local
333 bss = nt->nt_node_first; in wlan_refresh_inactive_nodes()
334 while (bss != NULL) in wlan_refresh_inactive_nodes()
336 nextBss = bss->ni_list_next; in wlan_refresh_inactive_nodes()
337 if (memcmp(myBssid, bss->ni_macaddr, sizeof(myBssid)) != 0) in wlan_refresh_inactive_nodes()
342 wlan_node_reclaim(nt, bss); in wlan_refresh_inactive_nodes()
345 bss = nextBss; in wlan_refresh_inactive_nodes()
348 bss_t *bss, *nextBss; in wlan_refresh_inactive_nodes()
356 bss = nt->nt_node_first; in wlan_refresh_inactive_nodes()
357 while (bss != NULL) in wlan_refresh_inactive_nodes()
[all …]
/linux-2.6.39/arch/blackfin/kernel/
Dvmlinux.lds.S63 .bss : AT(__rodata_end)
65 .bss :
70 *(.bss .bss.*) argument
73 *(.l1.bss)
76 *(.l1.bss.B)
83 .data : AT(LOADADDR(.bss) + SIZEOF(.bss)) argument
203 *(.l1.bss)
220 *(.l1.bss.B)
246 *(.l2.bss)
/linux-2.6.39/drivers/net/wireless/hostap/
Dhostap_80211_rx.c330 struct hostap_bss_info *bss; in __hostap_get_bss() local
333 bss = list_entry(ptr, struct hostap_bss_info, list); in __hostap_get_bss()
334 if (memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in __hostap_get_bss()
336 (ssid_len == bss->ssid_len && in __hostap_get_bss()
337 memcmp(ssid, bss->ssid, ssid_len) == 0))) { in __hostap_get_bss()
338 list_move(&bss->list, &local->bss_list); in __hostap_get_bss()
339 return bss; in __hostap_get_bss()
350 struct hostap_bss_info *bss; in __hostap_add_bss() local
353 bss = list_entry(local->bss_list.prev, in __hostap_add_bss()
355 list_del(&bss->list); in __hostap_add_bss()
[all …]
Dhostap_proc.c149 struct hostap_bss_info *bss; in prism2_bss_list_proc_read() local
161 bss = list_entry(ptr, struct hostap_bss_info, list); in prism2_bss_list_proc_read()
163 bss->bssid, bss->last_update, in prism2_bss_list_proc_read()
164 bss->count, bss->capab_info); in prism2_bss_list_proc_read()
165 for (i = 0; i < bss->ssid_len; i++) { in prism2_bss_list_proc_read()
167 bss->ssid[i] >= 32 && bss->ssid[i] < 127 ? in prism2_bss_list_proc_read()
168 bss->ssid[i] : '_'); in prism2_bss_list_proc_read()
171 for (i = 0; i < bss->ssid_len; i++) { in prism2_bss_list_proc_read()
172 p += sprintf(p, "%02x", bss->ssid[i]); in prism2_bss_list_proc_read()
175 for (i = 0; i < bss->wpa_ie_len; i++) { in prism2_bss_list_proc_read()
[all …]
/linux-2.6.39/net/mac80211/
Dscan.c46 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_rx_bss_free() local
48 kfree(bss_mesh_id(bss)); in ieee80211_rx_bss_free()
49 kfree(bss_mesh_cfg(bss)); in ieee80211_rx_bss_free()
53 struct ieee80211_bss *bss) in ieee80211_rx_bss_put() argument
55 if (!bss) in ieee80211_rx_bss_put()
57 cfg80211_put_bss(container_of((void *)bss, struct cfg80211_bss, priv)); in ieee80211_rx_bss_put()
87 struct ieee80211_bss *bss; in ieee80211_bss_info_update() local
103 bss = (void *)cbss->priv; in ieee80211_bss_info_update()
107 bss->erp_value = elems->erp_info[0]; in ieee80211_bss_info_update()
108 bss->has_erp_value = 1; in ieee80211_bss_info_update()
[all …]
Dsta_info.c128 (sta->sdata->bss && sta->sdata->bss == sdata->bss)) && in sta_info_get_bss()
293 sdata = container_of(sdata->bss, in sta_info_finish_insert()
493 static inline void __bss_tim_set(struct ieee80211_if_ap *bss, u16 aid) in __bss_tim_set() argument
499 bss->tim[aid / 8] |= (1 << (aid % 8)); in __bss_tim_set()
502 static inline void __bss_tim_clear(struct ieee80211_if_ap *bss, u16 aid) in __bss_tim_clear() argument
508 bss->tim[aid / 8] &= ~(1 << (aid % 8)); in __bss_tim_clear()
511 static void __sta_info_set_tim_bit(struct ieee80211_if_ap *bss, in __sta_info_set_tim_bit() argument
514 BUG_ON(!bss); in __sta_info_set_tim_bit()
516 __bss_tim_set(bss, sta->sta.aid); in __sta_info_set_tim_bit()
529 BUG_ON(!sta->sdata->bss); in sta_info_set_tim_bit()
[all …]
Dmlme.c457 struct ieee80211_bss *bss, in ieee80211_sta_process_chanswitch() argument
461 container_of((void *)bss, struct cfg80211_bss, priv); in ieee80211_sta_process_chanswitch()
714 struct ieee80211_bss *bss; in ieee80211_recalc_ps() local
718 bss = (void *)found->u.mgd.associated->priv; in ieee80211_recalc_ps()
719 dtimper = bss->dtim_period; in ieee80211_recalc_ps()
948 struct ieee80211_bss *bss = (void *)cbss->priv; in ieee80211_set_associated() local
959 cbss->capability, bss->has_erp_value, bss->erp_value); in ieee80211_set_associated()
976 bss_conf->dtim_period = bss->dtim_period; in ieee80211_set_associated()
1423 struct cfg80211_bss *cbss = wk->assoc.bss; in ieee80211_assoc_success()
1592 struct ieee80211_bss *bss; in ieee80211_rx_bss_info() local
[all …]
Dibss.c78 struct cfg80211_bss *bss; in __ieee80211_sta_join_ibss() local
208 bss = cfg80211_inform_bss_frame(local->hw.wiphy, local->hw.conf.channel, in __ieee80211_sta_join_ibss()
210 cfg80211_put_bss(bss); in __ieee80211_sta_join_ibss()
215 struct ieee80211_bss *bss) in ieee80211_sta_join_ibss() argument
218 container_of((void *)bss, struct cfg80211_bss, priv); in ieee80211_sta_join_ibss()
233 for (i = 0; i < bss->supp_rates_len; i++) { in ieee80211_sta_join_ibss()
234 int rate = (bss->supp_rates[i] & 0x7f) * 5; in ieee80211_sta_join_ibss()
235 bool is_basic = !!(bss->supp_rates[i] & 0x80); in ieee80211_sta_join_ibss()
264 struct ieee80211_bss *bss; in ieee80211_rx_bss_info() local
323 bss = ieee80211_bss_info_update(local, rx_status, mgmt, len, elems, in ieee80211_rx_bss_info()
[all …]
/linux-2.6.39/arch/um/kernel/
Ddyn.lds.S51 .rel.bss : { *(.rel.bss .rel.bss.* .rel.gnu.linkonce.b.*) }
52 .rela.bss : { *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) }
147 .bss : {
150 *(.bss .bss.* .gnu.linkonce.b.*) argument
/linux-2.6.39/drivers/net/wireless/prism54/
Doid_mgt.c292 struct obj_bss *bss = data; in mgt_le_to_cpu() local
293 bss->age = le16_to_cpu(bss->age); in mgt_le_to_cpu()
294 bss->channel = le16_to_cpu(bss->channel); in mgt_le_to_cpu()
295 bss->capinfo = le16_to_cpu(bss->capinfo); in mgt_le_to_cpu()
296 bss->rates = le16_to_cpu(bss->rates); in mgt_le_to_cpu()
297 bss->basic_rates = le16_to_cpu(bss->basic_rates); in mgt_le_to_cpu()
361 struct obj_bss *bss = data; in mgt_cpu_to_le() local
362 bss->age = cpu_to_le16(bss->age); in mgt_cpu_to_le()
363 bss->channel = cpu_to_le16(bss->channel); in mgt_cpu_to_le()
364 bss->capinfo = cpu_to_le16(bss->capinfo); in mgt_cpu_to_le()
[all …]
/linux-2.6.39/arch/frv/kernel/
Dvmlinux.lds.S116 .bss : { *(.bss .bss.*) }
117 .bss..stack : { *(.bss) }
/linux-2.6.39/drivers/net/wireless/libertas/
Dcfg.c289 static int lbs_add_common_rates_tlv(u8 *tlv, struct cfg80211_bss *bss) in lbs_add_common_rates_tlv() argument
295 rates_eid = ieee80211_bss_get_ie(bss, WLAN_EID_SUPP_RATES); in lbs_add_common_rates_tlv()
296 ext_rates_eid = ieee80211_bss_get_ie(bss, WLAN_EID_EXT_SUPP_RATES); in lbs_add_common_rates_tlv()
1060 struct cfg80211_bss *bss, in lbs_associate() argument
1095 memcpy(cmd->bssid, bss->bssid, ETH_ALEN); in lbs_associate()
1097 cmd->capability = cpu_to_le16(bss->capability); in lbs_associate()
1100 ssid_eid = ieee80211_bss_get_ie(bss, WLAN_EID_SSID); in lbs_associate()
1107 if (bss->channel) in lbs_associate()
1108 pos += lbs_add_channel_tlv(pos, bss->channel->hw_value); in lbs_associate()
1117 pos += lbs_add_common_rates_tlv(pos, bss); in lbs_associate()
[all …]
/linux-2.6.39/drivers/staging/ath6kl/include/
Dwlan_api.h61 typedef struct bss { struct
65 struct bss *ni_list_next; argument
66 struct bss *ni_list_prev; argument
67 struct bss *ni_hash_next; argument
68 struct bss *ni_hash_prev; argument
/linux-2.6.39/arch/s390/kernel/
Dbase.S28 .section .bss
48 .section .bss
72 .section .bss
95 .section .bss
117 .section .bss
144 .section .bss
/linux-2.6.39/drivers/staging/brcm80211/brcmfmac/
Dwl_cfg80211.h347 struct wl_bss_info *bss) in next_bss() argument
349 return bss = bss ? in next_bss()
350 (struct wl_bss_info *)((unsigned long)bss + in next_bss()
351 le32_to_cpu(bss->length)) : in next_bss()
355 #define for_each_bss(list, bss, __i) \ argument
356 for (__i = 0; __i < list->count && __i < WL_AP_MAX; __i++, bss = next_bss(list, bss))
/linux-2.6.39/arch/s390/boot/compressed/
Dvmlinux.lds.S46 .bss : {
48 *(.bss) argument
49 *(.bss.*)
/linux-2.6.39/arch/x86/boot/compressed/
Dvmlinux.lds.S57 .bss : {
59 *(.bss) argument
60 *(.bss.*)
/linux-2.6.39/drivers/net/wireless/iwmc3200wifi/
Drx.c791 struct iwm_bss_info *bss; in iwm_mlme_update_bss_table() local
810 list_for_each_entry(bss, &iwm->bss_list, node) in iwm_mlme_update_bss_table()
811 if (bss->bss->table_idx == umac_bss->table_idx) in iwm_mlme_update_bss_table()
814 if (&bss->node != &iwm->bss_list) { in iwm_mlme_update_bss_table()
816 list_del(&bss->node); in iwm_mlme_update_bss_table()
817 kfree(bss->bss); in iwm_mlme_update_bss_table()
821 bss = kzalloc(sizeof(struct iwm_bss_info), GFP_KERNEL); in iwm_mlme_update_bss_table()
822 if (!bss) { in iwm_mlme_update_bss_table()
828 bss->bss = kzalloc(bss_len, GFP_KERNEL); in iwm_mlme_update_bss_table()
829 if (!bss->bss) { in iwm_mlme_update_bss_table()
[all …]
/linux-2.6.39/drivers/staging/ath6kl/wlan/include/
Dieee80211_node.h70 struct bss *nt_node_first; /* information of all nodes */
71 struct bss *nt_node_last; /* information of all nodes */
72 struct bss *nt_hash[IEEE80211_NODE_HASHSIZE];
/linux-2.6.39/arch/h8300/boot/compressed/
Dvmlinux.lds23 .bss :
27 *(.bss*) argument
/linux-2.6.39/arch/cris/boot/compressed/
Ddecompress_v32.lds25 .bss :
27 *(.bss)

123456