Lines Matching refs:bss_desc

102 			   struct mwifiex_bssdescriptor *bss_desc)  in mwifiex_cmd_append_tsf_tlv()  argument
122 tsf_val = cpu_to_le64(bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv()
126 tsf_val = cpu_to_le64(bss_desc->timestamp); in mwifiex_cmd_append_tsf_tlv()
130 __func__, bss_desc->timestamp, bss_desc->fw_tsf); in mwifiex_cmd_append_tsf_tlv()
204 struct mwifiex_bssdescriptor *bss_desc, in mwifiex_setup_rates_from_bssdesc() argument
211 memcpy(out_rates, bss_desc->supported_rates, MWIFIEX_SUPPORTED_RATES); in mwifiex_setup_rates_from_bssdesc()
389 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_802_11_associate() argument
409 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_associate()
412 bss_desc->mac_address, sizeof(assoc->peer_sta_addr)); in mwifiex_cmd_802_11_associate()
418 assoc->beacon_period = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_associate()
427 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate()
428 memcpy(ssid_tlv->ssid, bss_desc->ssid.ssid, in mwifiex_cmd_802_11_associate()
436 &bss_desc->phy_param_set.ds_param_set.current_chan, in mwifiex_cmd_802_11_associate()
447 (priv, bss_desc, rates, &rates_size)) in mwifiex_cmd_802_11_associate()
477 (!bss_desc->disable_11n) && in mwifiex_cmd_802_11_associate()
480 (bss_desc->bcn_ht_cap) in mwifiex_cmd_802_11_associate()
493 (bss_desc->phy_param_set.ds_param_set.current_chan); in mwifiex_cmd_802_11_associate()
498 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_802_11_associate()
515 (!bss_desc->disable_11n) && in mwifiex_cmd_802_11_associate()
518 mwifiex_cmd_append_11n_tlv(priv, bss_desc, &pos); in mwifiex_cmd_802_11_associate()
521 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_cmd_802_11_associate()
523 mwifiex_cmd_append_11ac_tlv(priv, bss_desc, &pos); in mwifiex_cmd_802_11_associate()
528 mwifiex_wmm_process_association_req(priv, &pos, &bss_desc->wmm_ie, in mwifiex_cmd_802_11_associate()
529 bss_desc->bcn_ht_cap); in mwifiex_cmd_802_11_associate()
538 mwifiex_cmd_append_tsf_tlv(priv, &pos, bss_desc); in mwifiex_cmd_802_11_associate()
540 mwifiex_11h_process_join(priv, &pos, bss_desc); in mwifiex_cmd_802_11_associate()
545 tmp_cap = bss_desc->cap_info_bitmap; in mwifiex_cmd_802_11_associate()
644 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_ret_802_11_associate() local
710 bss_desc = priv->attempted_bss_desc; in mwifiex_ret_802_11_associate()
713 bss_desc->ssid.ssid); in mwifiex_ret_802_11_associate()
717 bss_desc, sizeof(struct mwifiex_bssdescriptor)); in mwifiex_ret_802_11_associate()
721 = bss_desc->phy_param_set.ds_param_set.current_chan; in mwifiex_ret_802_11_associate()
723 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_ret_802_11_associate()
725 if (bss_desc->wmm_ie.vend_hdr.element_id == WLAN_EID_VENDOR_SPECIFIC) in mwifiex_ret_802_11_associate()
730 if ((priv->wmm_required || bss_desc->bcn_ht_cap) && in mwifiex_ret_802_11_associate()
740 = ((bss_desc->wmm_ie.qos_info_bitmap & in mwifiex_ret_802_11_associate()
848 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_cmd_802_11_ad_hoc_start() local
865 bss_desc = &priv->curr_bss_params.bss_descriptor; in mwifiex_cmd_802_11_ad_hoc_start()
866 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_ad_hoc_start()
887 memset(bss_desc->ssid.ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start()
888 memcpy(bss_desc->ssid.ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start()
890 bss_desc->ssid.ssid_len = req_ssid->ssid_len; in mwifiex_cmd_802_11_ad_hoc_start()
894 bss_desc->bss_mode = NL80211_IFTYPE_ADHOC; in mwifiex_cmd_802_11_ad_hoc_start()
896 bss_desc->beacon_period = priv->beacon_period; in mwifiex_cmd_802_11_ad_hoc_start()
929 bss_desc->channel = priv->adhoc_channel; in mwifiex_cmd_802_11_ad_hoc_start()
933 memcpy(&bss_desc->phy_param_set, &adhoc_start->phy_param_set, in mwifiex_cmd_802_11_ad_hoc_start()
946 memcpy(&bss_desc->ss_param_set, &adhoc_start->ss_param_set, in mwifiex_cmd_802_11_ad_hoc_start()
950 bss_desc->cap_info_bitmap |= WLAN_CAPABILITY_IBSS; in mwifiex_cmd_802_11_ad_hoc_start()
958 bss_desc->privacy = MWIFIEX_802_11_PRIV_FILTER_8021X_WEP; in mwifiex_cmd_802_11_ad_hoc_start()
964 bss_desc->privacy = MWIFIEX_802_11_PRIV_FILTER_ACCEPT_ALL; in mwifiex_cmd_802_11_ad_hoc_start()
1122 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_cmd_802_11_ad_hoc_join() argument
1138 if (bss_desc->erp_flags & USE_G_PROTECTION) { in mwifiex_cmd_802_11_ad_hoc_join()
1152 priv->attempted_bss_desc = bss_desc; in mwifiex_cmd_802_11_ad_hoc_join()
1159 = cpu_to_le16(bss_desc->beacon_period); in mwifiex_cmd_802_11_ad_hoc_join()
1162 &bss_desc->mac_address, ETH_ALEN); in mwifiex_cmd_802_11_ad_hoc_join()
1165 &bss_desc->ssid.ssid, bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_ad_hoc_join()
1168 &bss_desc->phy_param_set, in mwifiex_cmd_802_11_ad_hoc_join()
1172 &bss_desc->ss_param_set, sizeof(union ieee_types_ss_param_set)); in mwifiex_cmd_802_11_ad_hoc_join()
1174 tmp_cap = bss_desc->cap_info_bitmap; in mwifiex_cmd_802_11_ad_hoc_join()
1189 bss_desc->supported_rates[i]; i++) in mwifiex_cmd_802_11_ad_hoc_join()
1197 bss_desc->supported_rates, rates_size); in mwifiex_cmd_802_11_ad_hoc_join()
1201 memcpy(&priv->curr_bss_params.data_rates, bss_desc->supported_rates, in mwifiex_cmd_802_11_ad_hoc_join()
1205 priv->curr_bss_params.bss_descriptor.channel = bss_desc->channel; in mwifiex_cmd_802_11_ad_hoc_join()
1206 priv->curr_bss_params.band = (u8) bss_desc->bss_band; in mwifiex_cmd_802_11_ad_hoc_join()
1221 (bss_desc->phy_param_set.ds_param_set.current_chan); in mwifiex_cmd_802_11_ad_hoc_join()
1226 mwifiex_band_to_radio_type((u8) bss_desc->bss_band); in mwifiex_cmd_802_11_ad_hoc_join()
1244 bss_desc, &pos); in mwifiex_cmd_802_11_ad_hoc_join()
1276 struct mwifiex_bssdescriptor *bss_desc; in mwifiex_ret_802_11_ad_hoc() local
1291 bss_desc = priv->attempted_bss_desc; in mwifiex_ret_802_11_ad_hoc()
1311 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc()
1314 memcpy(bss_desc->mac_address, in mwifiex_ret_802_11_ad_hoc()
1325 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc()
1333 bss_desc, sizeof(struct mwifiex_bssdescriptor)); in mwifiex_ret_802_11_ad_hoc()
1370 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_associate() argument
1376 (bss_desc->bss_mode != NL80211_IFTYPE_STATION)) in mwifiex_associate()
1380 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_associate()
1391 HostCmd_ACT_GEN_SET, 0, bss_desc, true); in mwifiex_associate()
1427 struct mwifiex_bssdescriptor *bss_desc) in mwifiex_adhoc_join() argument
1436 bss_desc->ssid.ssid); in mwifiex_adhoc_join()
1438 bss_desc->ssid.ssid_len); in mwifiex_adhoc_join()
1442 !mwifiex_ssid_cmp(&bss_desc->ssid, in mwifiex_adhoc_join()
1453 !bss_desc->disable_11n && !bss_desc->disable_11ac && in mwifiex_adhoc_join()
1467 HostCmd_ACT_GEN_SET, 0, bss_desc, true); in mwifiex_adhoc_join()