/drivers/net/wireless/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), IEEE80211_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 …]
|
/drivers/net/wireless/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/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() 1102 struct cfg80211_bss *bss, in lbs_associate() argument 1137 memcpy(cmd->bssid, bss->bssid, ETH_ALEN); in lbs_associate() 1139 cmd->capability = cpu_to_le16(bss->capability); in lbs_associate() 1143 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/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 | 984 struct wcn36xx_hal_config_bss_params_v1 *bss = &msg_body.bss_params; in wcn36xx_smd_config_bss_v1() local 985 struct wcn36xx_hal_config_sta_params_v1 *sta = &bss->sta; in wcn36xx_smd_config_bss_v1() 1076 bss->bssid, bss->self_mac_addr, bss->bss_type, in wcn36xx_smd_config_bss_v1() 1077 bss->oper_mode, bss->nw_type); in wcn36xx_smd_config_bss_v1() 1135 struct wcn36xx_hal_config_bss_params *bss; in wcn36xx_smd_config_bss() local 1143 bss = &msg.bss_params; in wcn36xx_smd_config_bss() 1144 sta_params = &bss->sta; in wcn36xx_smd_config_bss() 1148 memcpy(&bss->bssid, bssid, ETH_ALEN); in wcn36xx_smd_config_bss() 1150 memcpy(bss->self_mac_addr, vif->addr, ETH_ALEN); in wcn36xx_smd_config_bss() 1153 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 = NULL; 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() 128 struct ieee80211_bss_conf *bss = NULL; in rsi_send_mgmt_pkt() local 160 bss = &info->control.vif->bss_conf; in rsi_send_mgmt_pkt() 196 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() 844 struct ieee80211_bss_conf *bss = &common->priv->vifs[0]->bss_conf; in rsi_fill_rx_status() local 881 if (bss->assoc && !(memcmp(bss->bssid, hdr->addr2, ETH_ALEN))) { in rsi_fill_rx_status()
|
/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 138 struct cfg80211_bss *bss, in mwifiex_fill_new_bss_desc() argument 143 struct mwifiex_bss_priv *bss_priv = (void *)bss->priv; in mwifiex_fill_new_bss_desc() 147 ies = rcu_dereference(bss->ies); in mwifiex_fill_new_bss_desc() 158 memcpy(bss_desc->mac_address, bss->bssid, ETH_ALEN); in mwifiex_fill_new_bss_desc() 159 bss_desc->rssi = bss->signal; in mwifiex_fill_new_bss_desc() 163 bss_desc->beacon_period = bss->beacon_interval; in mwifiex_fill_new_bss_desc() 164 bss_desc->cap_info_bitmap = bss->capability; in mwifiex_fill_new_bss_desc() 200 struct cfg80211_bss *bss) in mwifiex_process_country_ie() argument 208 country_ie = ieee80211_bss_get_ie(bss, WLAN_EID_COUNTRY); in mwifiex_process_country_ie() 259 int mwifiex_bss_start(struct mwifiex_private *priv, struct cfg80211_bss *bss, in mwifiex_bss_start() argument [all …]
|
D | cfg80211.c | 1539 struct cfg80211_bss *bss; in mwifiex_cfg80211_inform_ibss_bss() local 1559 bss = cfg80211_inform_bss(priv->wdev->wiphy, chan, in mwifiex_cfg80211_inform_ibss_bss() 1563 cfg80211_put_bss(priv->wdev->wiphy, bss); in mwifiex_cfg80211_inform_ibss_bss() 1591 struct cfg80211_bss *bss = NULL; in mwifiex_cfg80211_assoc() local 1684 bss = cfg80211_get_bss(priv->wdev->wiphy, channel, in mwifiex_cfg80211_assoc() 1689 bss = cfg80211_get_bss(priv->wdev->wiphy, channel, in mwifiex_cfg80211_assoc() 1694 if (!bss) { in mwifiex_cfg80211_assoc() 1704 (char *) req_ssid.ssid, bss->bssid); in mwifiex_cfg80211_assoc() 1705 memcpy(&priv->cfg_bssid, bss->bssid, ETH_ALEN); in mwifiex_cfg80211_assoc() 1710 ret = mwifiex_bss_start(priv, bss, &req_ssid); in mwifiex_cfg80211_assoc()
|
D | scan.c | 1562 struct cfg80211_bss *bss) in mwifiex_update_curr_bss_params() argument 1573 ret = mwifiex_fill_new_bss_desc(priv, bss, bss_desc); in mwifiex_update_curr_bss_params() 1608 struct cfg80211_bss *bss; in mwifiex_parse_single_response_buf() local 1733 bss = cfg80211_inform_bss(priv->wdev->wiphy, in mwifiex_parse_single_response_buf() 1738 bss_priv = (struct mwifiex_bss_priv *)bss->priv; in mwifiex_parse_single_response_buf() 1744 mwifiex_update_curr_bss_params(priv, bss); in mwifiex_parse_single_response_buf() 1745 cfg80211_put_bss(priv->wdev->wiphy, bss); in mwifiex_parse_single_response_buf()
|
/drivers/net/wireless/ath/wil6210/ |
D | cfg80211.c | 358 struct cfg80211_bss *bss; in wil_cfg80211_connect() local 371 bss = cfg80211_get_bss(wiphy, sme->channel, sme->bssid, in wil_cfg80211_connect() 374 if (!bss) { in wil_cfg80211_connect() 379 ssid_eid = ieee80211_bss_get_ie(bss, WLAN_EID_SSID); in wil_cfg80211_connect() 397 rc = wmi_del_cipher_key(wil, 0, bss->bssid); in wil_cfg80211_connect() 416 switch (bss->capability & WLAN_CAPABILITY_DMG_TYPE_MASK) { in wil_cfg80211_connect() 425 bss->capability); in wil_cfg80211_connect() 441 ch = bss->channel->hw_value; in wil_cfg80211_connect() 444 bss->channel->center_freq); in wil_cfg80211_connect() 450 memcpy(conn.bssid, bss->bssid, ETH_ALEN); in wil_cfg80211_connect() [all …]
|
/drivers/staging/rtl8723au/include/ |
D | wlan_bssdef.h | 107 static inline uint get_wlan_bssid_ex_sz(struct wlan_bssid_ex *bss) in get_wlan_bssid_ex_sz() argument 109 return sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength; in get_wlan_bssid_ex_sz()
|
D | rtw_event.h | 25 struct wlan_bssid_ex *bss; member
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 1223 struct ieee80211_bss_conf *bss) in ar5523_set_basic_rates() argument 1230 ar5523_create_rateset(ar, bss, &rates.rateset, true); in ar5523_set_basic_rates() 1238 struct ieee80211_bss_conf *bss) in ar5523_create_connection() argument 1249 ar5523_create_rateset(ar, bss, &create.connattr.rateset, false); in ar5523_create_connection() 1251 wlan_mode = ar5523_get_wlan_mode(ar, bss); in ar5523_create_connection() 1259 struct ieee80211_bss_conf *bss) in ar5523_write_associd() argument 1265 associd.associd = cpu_to_be32(bss->aid); in ar5523_write_associd() 1267 memcpy(associd.bssid, bss->bssid, ETH_ALEN); in ar5523_write_associd() 1274 struct ieee80211_bss_conf *bss, in ar5523_bss_info_changed() argument 1286 if (bss->assoc) { in ar5523_bss_info_changed() [all …]
|
/drivers/staging/rtl8188eu/include/ |
D | wlan_bssdef.h | 270 static inline uint get_wlan_bssid_ex_sz(struct wlan_bssid_ex *bss) in get_wlan_bssid_ex_sz() argument 272 return sizeof(struct wlan_bssid_ex) - MAX_IE_SZ + bss->IELength; in get_wlan_bssid_ex_sz()
|
D | rtw_event.h | 33 struct wlan_bssid_ex bss; member
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | wl_cfg80211.c | 2364 struct cfg80211_bss *bss; in brcmf_inform_single_bss() local 2407 bss = cfg80211_inform_bss(wiphy, notify_channel, in brcmf_inform_single_bss() 2415 if (!bss) in brcmf_inform_single_bss() 2418 cfg80211_put_bss(wiphy, bss); in brcmf_inform_single_bss() 2424 next_bss_le(struct brcmf_scan_results *list, struct brcmf_bss_info_le *bss) in next_bss_le() argument 2426 if (bss == NULL) in next_bss_le() 2428 return (struct brcmf_bss_info_le *)((unsigned long)bss + in next_bss_le() 2429 le32_to_cpu(bss->length)); in next_bss_le() 2463 struct cfg80211_bss *bss; in wl_inform_ibss() local 2515 bss = cfg80211_inform_bss(wiphy, notify_channel, in wl_inform_ibss() [all …]
|
/drivers/staging/rtl8712/ |
D | rtl871x_event.h | 39 struct ndis_wlan_bssid_ex bss; member
|
/drivers/staging/wlan-ng/ |
D | cfg80211.c | 344 struct cfg80211_bss *bss; in prism2_scan() local 423 bss = cfg80211_inform_bss(wiphy, in prism2_scan() 435 if (!bss) { in prism2_scan() 440 cfg80211_put_bss(wiphy, bss); in prism2_scan()
|
/drivers/net/wireless/ath/ath6kl/ |
D | cfg80211.c | 688 struct cfg80211_bss *bss; in ath6kl_add_bss_if_needed() local 700 bss = cfg80211_get_bss(ar->wiphy, chan, bssid, in ath6kl_add_bss_if_needed() 703 if (bss == NULL) { in ath6kl_add_bss_if_needed() 719 bss = cfg80211_inform_bss(ar->wiphy, chan, in ath6kl_add_bss_if_needed() 724 if (bss) in ath6kl_add_bss_if_needed() 732 return bss; in ath6kl_add_bss_if_needed() 744 struct cfg80211_bss *bss; in ath6kl_cfg80211_connect_event() local 785 bss = ath6kl_add_bss_if_needed(vif, nw_type, bssid, chan, in ath6kl_cfg80211_connect_event() 787 if (!bss) { in ath6kl_cfg80211_connect_event() 796 cfg80211_put_bss(ar->wiphy, bss); in ath6kl_cfg80211_connect_event() [all …]
|
/drivers/net/wireless/ |
D | atmel.c | 3019 u8 *bss = capability & WLAN_CAPABILITY_ESS ? header->addr2 : header->addr3; in store_bss_info() local 3023 if (memcmp(bss, priv->BSSinfo[i].BSSID, ETH_ALEN) == 0) in store_bss_info() 3034 memcpy(priv->BSSinfo[index].BSSID, bss, ETH_ALEN); in store_bss_info() 3235 struct bss_info *bss = &priv->BSSinfo[bss_index]; in atmel_join_bss() local 3237 memcpy(priv->CurrentBSSID, bss->BSSID, ETH_ALEN); in atmel_join_bss() 3238 memcpy(priv->SSID, bss->SSID, priv->SSID_size = bss->SSIDsize); in atmel_join_bss() 3246 if (bss->BSStype == IW_MODE_ADHOC && in atmel_join_bss() 3257 priv->operating_mode = bss->BSStype; in atmel_join_bss() 3258 priv->channel = bss->channel & 0x7f; in atmel_join_bss() 3259 priv->beacon_period = bss->beacon_period; in atmel_join_bss() [all …]
|