/drivers/net/wireless/intersil/orinoco/ |
D | scan.c | 75 const union hermes_scan_info *bss) in orinoco_add_hostscan_result() argument 90 len = le16_to_cpu(bss->a.essid_len); in orinoco_add_hostscan_result() 95 memcpy(&ie_buf[2], bss->a.essid, len); in orinoco_add_hostscan_result() 101 ie_len += symbol_build_supp_rates(ie, bss->s.rates); in orinoco_add_hostscan_result() 105 ie_len += prism_build_supp_rates(ie, bss->p.rates); in orinoco_add_hostscan_result() 114 le16_to_cpu(bss->a.channel), NL80211_BAND_2GHZ); in orinoco_add_hostscan_result() 118 bss->a.channel, freq); in orinoco_add_hostscan_result() 122 capability = le16_to_cpu(bss->a.capabilities); in orinoco_add_hostscan_result() 123 beacon_interval = le16_to_cpu(bss->a.beacon_interv); in orinoco_add_hostscan_result() 124 signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); in orinoco_add_hostscan_result() [all …]
|
D | main.c | 1569 struct agere_ext_scan_info *bss; in __orinoco_ev_info() local 1594 bss = kmalloc(len, GFP_ATOMIC); in __orinoco_ev_info() 1595 if (bss == NULL) in __orinoco_ev_info() 1599 err = hw->ops->bap_pread(hw, IRQ_BAP, (void *) bss, len, in __orinoco_ev_info() 1602 kfree(bss); in __orinoco_ev_info() 1604 qbuf_scan(priv, bss, len, type); in __orinoco_ev_info()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211_rx.c | 331 struct hostap_bss_info *bss; in __hostap_get_bss() local 334 bss = list_entry(ptr, struct hostap_bss_info, list); in __hostap_get_bss() 335 if (memcmp(bss->bssid, bssid, ETH_ALEN) == 0 && in __hostap_get_bss() 337 (ssid_len == bss->ssid_len && in __hostap_get_bss() 338 memcmp(ssid, bss->ssid, ssid_len) == 0))) { in __hostap_get_bss() 339 list_move(&bss->list, &local->bss_list); in __hostap_get_bss() 340 return bss; in __hostap_get_bss() 351 struct hostap_bss_info *bss; in __hostap_add_bss() local 354 bss = list_entry(local->bss_list.prev, in __hostap_add_bss() 356 list_del(&bss->list); in __hostap_add_bss() [all …]
|
D | hostap_proc.c | 170 struct hostap_bss_info *bss; in prism2_bss_list_proc_show() local 178 bss = list_entry(ptr, struct hostap_bss_info, list); in prism2_bss_list_proc_show() 180 bss->bssid, bss->last_update, in prism2_bss_list_proc_show() 181 bss->count, bss->capab_info); in prism2_bss_list_proc_show() 183 seq_printf(m, "%*pE", (int)bss->ssid_len, bss->ssid); in prism2_bss_list_proc_show() 186 seq_printf(m, "%*phN", (int)bss->ssid_len, bss->ssid); in prism2_bss_list_proc_show() 188 seq_printf(m, "%*phN", (int)bss->wpa_ie_len, bss->wpa_ie); in prism2_bss_list_proc_show()
|
D | hostap_ioctl.c | 1777 struct hostap_bss_info *bss, in __prism2_translate_scan() argument 1789 if (bss) { in __prism2_translate_scan() 1790 ssid = bss->ssid; in __prism2_translate_scan() 1791 ssid_len = bss->ssid_len; in __prism2_translate_scan() 1792 bssid = bss->bssid; in __prism2_translate_scan() 1820 if (bss) { in __prism2_translate_scan() 1821 capabilities = bss->capab_info; in __prism2_translate_scan() 1839 } else if (bss) { in __prism2_translate_scan() 1840 chan = bss->chan; in __prism2_translate_scan() 1930 if (bss && bss->wpa_ie_len > 0 && bss->wpa_ie_len <= MAX_WPA_IE_LEN) { in __prism2_translate_scan() [all …]
|
/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 295 static int lbs_add_common_rates_tlv(u8 *tlv, struct cfg80211_bss *bss) in lbs_add_common_rates_tlv() argument 302 rates_eid = ieee80211_bss_get_ie(bss, WLAN_EID_SUPP_RATES); in lbs_add_common_rates_tlv() 303 ext_rates_eid = ieee80211_bss_get_ie(bss, WLAN_EID_EXT_SUPP_RATES); in lbs_add_common_rates_tlv() 506 struct cfg80211_bss *bss; in lbs_ret_scan() local 652 bss = cfg80211_inform_bss(wiphy, channel, in lbs_ret_scan() 658 cfg80211_put_bss(wiphy, bss); in lbs_ret_scan() 1106 struct cfg80211_bss *bss, in lbs_associate() argument 1142 memcpy(cmd->bssid, bss->bssid, ETH_ALEN); in lbs_associate() 1144 cmd->capability = cpu_to_le16(bss->capability); in lbs_associate() 1148 ssid_eid = ieee80211_bss_get_ie(bss, WLAN_EID_SSID); in lbs_associate() [all …]
|
D | host.h | 303 } bss; member 335 } __packed bss; member 789 struct adhoc_bssdesc bss; member
|
/drivers/net/wireless/intersil/prism54/ |
D | oid_mgt.c | 291 struct obj_bss *bss = data; in mgt_le_to_cpu() local 292 bss->age = le16_to_cpu(bss->age); in mgt_le_to_cpu() 293 bss->channel = le16_to_cpu(bss->channel); in mgt_le_to_cpu() 294 bss->capinfo = le16_to_cpu(bss->capinfo); in mgt_le_to_cpu() 295 bss->rates = le16_to_cpu(bss->rates); in mgt_le_to_cpu() 296 bss->basic_rates = le16_to_cpu(bss->basic_rates); in mgt_le_to_cpu() 360 struct obj_bss *bss = data; in mgt_cpu_to_le() local 361 bss->age = cpu_to_le16(bss->age); in mgt_cpu_to_le() 362 bss->channel = cpu_to_le16(bss->channel); in mgt_cpu_to_le() 363 bss->capinfo = cpu_to_le16(bss->capinfo); in mgt_cpu_to_le() [all …]
|
D | isl_ioctl.c | 167 struct obj_bss bss, *bss2; in prism54_update_stats() local 186 memcpy(bss.address, data, ETH_ALEN); in prism54_update_stats() 190 j = mgt_get_request(priv, DOT11_OID_BSSFIND, 0, (void *) &bss, &r); in prism54_update_stats() 575 char *current_ev, char *end_buf, struct obj_bss *bss, in prism54_translate_bss() argument 585 memcpy(iwe.u.ap_addr.sa_data, bss->address, ETH_ALEN); in prism54_translate_bss() 594 iwe.u.data.length = bss->ssid.length; in prism54_translate_bss() 598 &iwe, bss->ssid.octets); in prism54_translate_bss() 606 cap = bss->capinfo; in prism54_translate_bss() 628 iwe.u.freq.m = bss->channel; in prism54_translate_bss() 635 iwe.u.qual.level = bss->rssi; in prism54_translate_bss() [all …]
|
/drivers/net/wireless/ath/wcn36xx/ |
D | smd.c | 1079 struct wcn36xx_hal_config_bss_params_v1 *bss = &msg_body.bss_params; in wcn36xx_smd_config_bss_v1() local 1080 struct wcn36xx_hal_config_sta_params_v1 *sta = &bss->sta; in wcn36xx_smd_config_bss_v1() 1171 bss->bssid, bss->self_mac_addr, bss->bss_type, in wcn36xx_smd_config_bss_v1() 1172 bss->oper_mode, bss->nw_type); in wcn36xx_smd_config_bss_v1() 1232 struct wcn36xx_hal_config_bss_params *bss; in wcn36xx_smd_config_bss() local 1240 bss = &msg.bss_params; in wcn36xx_smd_config_bss() 1241 sta_params = &bss->sta; in wcn36xx_smd_config_bss() 1245 memcpy(&bss->bssid, bssid, ETH_ALEN); in wcn36xx_smd_config_bss() 1247 memcpy(bss->self_mac_addr, vif->addr, ETH_ALEN); in wcn36xx_smd_config_bss() 1250 bss->bss_type = WCN36XX_HAL_INFRASTRUCTURE_MODE; in wcn36xx_smd_config_bss() [all …]
|
/drivers/net/wireless/rsi/ |
D | rsi_91x_pkt.c | 33 struct ieee80211_bss_conf *bss; in rsi_send_data_pkt() local 41 bss = &info->control.vif->bss_conf; in rsi_send_data_pkt() 44 if (!bss->assoc) { in rsi_send_data_pkt() 130 struct ieee80211_bss_conf *bss; in rsi_send_mgmt_pkt() local 162 bss = &info->control.vif->bss_conf; in rsi_send_mgmt_pkt() 198 if ((skb->data[16] == IEEE80211_STYPE_PROBE_REQ) && (!bss->assoc)) { in rsi_send_mgmt_pkt()
|
D | rsi_91x_mac80211.c | 358 struct ieee80211_bss_conf *bss = &adapter->vifs[0]->bss_conf; in rsi_channel_change() local 365 if (bss->assoc) { in rsi_channel_change() 378 if (bss->assoc) { in rsi_channel_change() 433 struct ieee80211_bss_conf *bss = &vif->bss_conf; in rsi_get_connected_channel() local 434 struct ieee80211_channel *channel = bss->chandef.chan; in rsi_get_connected_channel() 841 struct ieee80211_bss_conf *bss = &common->priv->vifs[0]->bss_conf; in rsi_fill_rx_status() local 878 if (bss->assoc && !(memcmp(bss->bssid, hdr->addr2, ETH_ALEN))) { in rsi_fill_rx_status()
|
/drivers/net/wireless/marvell/mwifiex/ |
D | sta_ioctl.c | 142 struct cfg80211_bss *bss, in mwifiex_fill_new_bss_desc() argument 147 struct mwifiex_bss_priv *bss_priv = (void *)bss->priv; in mwifiex_fill_new_bss_desc() 152 ies = rcu_dereference(bss->ies); in mwifiex_fill_new_bss_desc() 164 memcpy(bss_desc->mac_address, bss->bssid, ETH_ALEN); in mwifiex_fill_new_bss_desc() 165 bss_desc->rssi = bss->signal; in mwifiex_fill_new_bss_desc() 169 bss_desc->beacon_period = bss->beacon_interval; in mwifiex_fill_new_bss_desc() 170 bss_desc->cap_info_bitmap = bss->capability; in mwifiex_fill_new_bss_desc() 248 struct cfg80211_bss *bss) in mwifiex_process_country_ie() argument 256 country_ie = ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in mwifiex_process_country_ie() 307 int mwifiex_bss_start(struct mwifiex_private *priv, struct cfg80211_bss *bss, in mwifiex_bss_start() argument [all …]
|
D | scan.c | 1639 struct cfg80211_bss *bss) in mwifiex_save_hidden_ssid_channels() argument 1650 ret = mwifiex_fill_new_bss_desc(priv, bss, bss_desc); in mwifiex_save_hidden_ssid_channels() 1658 bss->channel->hw_value) in mwifiex_save_hidden_ssid_channels() 1663 bss->channel->hw_value; in mwifiex_save_hidden_ssid_channels() 1665 bss->channel->band; in mwifiex_save_hidden_ssid_channels() 1679 struct cfg80211_bss *bss) in mwifiex_update_curr_bss_params() argument 1690 ret = mwifiex_fill_new_bss_desc(priv, bss, bss_desc); in mwifiex_update_curr_bss_params() 1725 struct cfg80211_bss *bss; in mwifiex_parse_single_response_buf() local 1854 bss = cfg80211_inform_bss(priv->wdev.wiphy, in mwifiex_parse_single_response_buf() 1859 if (bss) { in mwifiex_parse_single_response_buf() [all …]
|
D | cfg80211.c | 2065 struct cfg80211_bss *bss; in mwifiex_cfg80211_inform_ibss_bss() local 2085 bss = cfg80211_inform_bss(priv->wdev.wiphy, chan, in mwifiex_cfg80211_inform_ibss_bss() 2089 if (bss) { in mwifiex_cfg80211_inform_ibss_bss() 2090 cfg80211_put_bss(priv->wdev.wiphy, bss); in mwifiex_cfg80211_inform_ibss_bss() 2119 struct cfg80211_bss *bss = NULL; in mwifiex_cfg80211_assoc() local 2212 bss = cfg80211_get_bss(priv->wdev.wiphy, channel, in mwifiex_cfg80211_assoc() 2217 bss = cfg80211_get_bss(priv->wdev.wiphy, channel, in mwifiex_cfg80211_assoc() 2222 if (!bss) { in mwifiex_cfg80211_assoc() 2233 bss->bssid); in mwifiex_cfg80211_assoc() 2234 memcpy(&priv->cfg_bssid, bss->bssid, ETH_ALEN); in mwifiex_cfg80211_assoc() [all …]
|
/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 519 struct cfg80211_bss *bss; in wil_cfg80211_connect() local 548 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in wil_cfg80211_connect() 551 if (!bss) { in wil_cfg80211_connect() 556 ssid_eid = ieee80211_bss_get_ie(bss, WLAN_EID_SSID); in wil_cfg80211_connect() 566 rc = wmi_del_cipher_key(wil, 0, bss->bssid, in wil_cfg80211_connect() 572 rc = wmi_del_cipher_key(wil, 0, bss->bssid, in wil_cfg80211_connect() 590 switch (bss->capability & WLAN_CAPABILITY_DMG_TYPE_MASK) { in wil_cfg80211_connect() 599 bss->capability); in wil_cfg80211_connect() 622 ch = bss->channel->hw_value; in wil_cfg80211_connect() 625 bss->channel->center_freq); in wil_cfg80211_connect() [all …]
|
/drivers/staging/rtl8188eu/include/ |
D | wlan_bssdef.h | 200 static inline uint get_wlan_bssid_ex_sz(struct wlan_bssid_ex *bss) in get_wlan_bssid_ex_sz() argument 202 return sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength; in get_wlan_bssid_ex_sz()
|
D | rtw_event.h | 28 struct wlan_bssid_ex bss; member
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 1219 struct ieee80211_bss_conf *bss) in ar5523_set_basic_rates() argument 1226 ar5523_create_rateset(ar, bss, &rates.rateset, true); in ar5523_set_basic_rates() 1234 struct ieee80211_bss_conf *bss) in ar5523_create_connection() argument 1245 ar5523_create_rateset(ar, bss, &create.connattr.rateset, false); in ar5523_create_connection() 1247 wlan_mode = ar5523_get_wlan_mode(ar, bss); in ar5523_create_connection() 1255 struct ieee80211_bss_conf *bss) in ar5523_write_associd() argument 1261 associd.associd = cpu_to_be32(bss->aid); in ar5523_write_associd() 1263 memcpy(associd.bssid, bss->bssid, ETH_ALEN); in ar5523_write_associd() 1270 struct ieee80211_bss_conf *bss, in ar5523_bss_info_changed() argument 1282 if (bss->assoc) { in ar5523_bss_info_changed() [all …]
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 300 struct cfg80211_bss *bss; in prism2_scan() local 381 bss = cfg80211_inform_bss(wiphy, in prism2_scan() 393 if (!bss) { in prism2_scan() 398 cfg80211_put_bss(wiphy, bss); in prism2_scan()
|
/drivers/staging/rtl8712/ |
D | rtl871x_event.h | 39 struct wlan_bssid_ex bss; member
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | cfg80211.c | 2778 struct cfg80211_bss *bss; in brcmf_inform_single_bss() local 2821 bss = cfg80211_inform_bss(wiphy, notify_channel, in brcmf_inform_single_bss() 2829 if (!bss) in brcmf_inform_single_bss() 2832 cfg80211_put_bss(wiphy, bss); in brcmf_inform_single_bss() 2838 next_bss_le(struct brcmf_scan_results *list, struct brcmf_bss_info_le *bss) in next_bss_le() argument 2840 if (bss == NULL) in next_bss_le() 2842 return (struct brcmf_bss_info_le *)((unsigned long)bss + in next_bss_le() 2843 le32_to_cpu(bss->length)); in next_bss_le() 2877 struct cfg80211_bss *bss; in brcmf_inform_ibss() local 2930 bss = cfg80211_inform_bss(wiphy, notify_channel, in brcmf_inform_ibss() [all …]
|
/drivers/net/wireless/atmel/ |
D | atmel.c | 3009 u8 *bss = capability & WLAN_CAPABILITY_ESS ? header->addr2 : header->addr3; in store_bss_info() local 3013 if (memcmp(bss, priv->BSSinfo[i].BSSID, ETH_ALEN) == 0) in store_bss_info() 3024 memcpy(priv->BSSinfo[index].BSSID, bss, ETH_ALEN); in store_bss_info() 3225 struct bss_info *bss = &priv->BSSinfo[bss_index]; in atmel_join_bss() local 3227 memcpy(priv->CurrentBSSID, bss->BSSID, ETH_ALEN); in atmel_join_bss() 3228 memcpy(priv->SSID, bss->SSID, priv->SSID_size = bss->SSIDsize); in atmel_join_bss() 3236 if (bss->BSStype == IW_MODE_ADHOC && in atmel_join_bss() 3247 priv->operating_mode = bss->BSStype; in atmel_join_bss() 3248 priv->channel = bss->channel & 0x7f; in atmel_join_bss() 3249 priv->beacon_period = bss->beacon_period; in atmel_join_bss() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 688 struct cfg80211_bss *bss; in ath6kl_add_bss_if_needed() local 701 bss = cfg80211_get_bss(ar->wiphy, chan, bssid, in ath6kl_add_bss_if_needed() 704 if (bss == NULL) { in ath6kl_add_bss_if_needed() 720 bss = cfg80211_inform_bss(ar->wiphy, chan, in ath6kl_add_bss_if_needed() 725 if (bss) in ath6kl_add_bss_if_needed() 733 return bss; in ath6kl_add_bss_if_needed() 745 struct cfg80211_bss *bss; in ath6kl_cfg80211_connect_event() local 786 bss = ath6kl_add_bss_if_needed(vif, nw_type, bssid, chan, in ath6kl_cfg80211_connect_event() 788 if (!bss) { in ath6kl_cfg80211_connect_event() 797 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_cfg80211_connect_event() [all …]
|
/drivers/net/wireless/cisco/ |
D | airo.c | 801 BSSListRid bss; member 2999 BSSListRid bss; in airo_process_scan_results() local 3008 memset (loop_net, 0, sizeof (loop_net->bss)); in airo_process_scan_results() 3012 rc = PC4500_readrid(ai, ai->bssListFirst, &bss, ai->bssListRidLen, 0); in airo_process_scan_results() 3013 if((rc) || (bss.index == cpu_to_le16(0xffff))) { in airo_process_scan_results() 3020 while((!rc) && (bss.index != cpu_to_le16(0xffff))) { in airo_process_scan_results() 3029 memcpy(tmp_net, &bss, sizeof(tmp_net->bss)); in airo_process_scan_results() 3036 &bss, ai->bssListRidLen, 0); in airo_process_scan_results() 7261 BSSListRid *bss) in airo_translate_scan() argument 7274 memcpy(iwe.u.ap_addr.sa_data, bss->bssid, ETH_ALEN); in airo_translate_scan() [all …]
|