Lines Matching refs:curr_bss

2904 	struct mwifiex_bssdescriptor *curr_bss =  in mwifiex_save_curr_bcn()  local
2907 if (!curr_bss->beacon_buf_size) in mwifiex_save_curr_bcn()
2912 priv->curr_bcn_size != curr_bss->beacon_buf_size) { in mwifiex_save_curr_bcn()
2913 priv->curr_bcn_size = curr_bss->beacon_buf_size; in mwifiex_save_curr_bcn()
2916 priv->curr_bcn_buf = kmalloc(curr_bss->beacon_buf_size, in mwifiex_save_curr_bcn()
2922 memcpy(priv->curr_bcn_buf, curr_bss->beacon_buf, in mwifiex_save_curr_bcn()
2923 curr_bss->beacon_buf_size); in mwifiex_save_curr_bcn()
2928 curr_bss->beacon_buf = priv->curr_bcn_buf; in mwifiex_save_curr_bcn()
2931 if (curr_bss->bcn_wpa_ie) in mwifiex_save_curr_bcn()
2932 curr_bss->bcn_wpa_ie = in mwifiex_save_curr_bcn()
2934 (curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2935 curr_bss->wpa_offset); in mwifiex_save_curr_bcn()
2937 if (curr_bss->bcn_rsn_ie) in mwifiex_save_curr_bcn()
2938 curr_bss->bcn_rsn_ie = (struct ieee_types_generic *) in mwifiex_save_curr_bcn()
2939 (curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2940 curr_bss->rsn_offset); in mwifiex_save_curr_bcn()
2942 if (curr_bss->bcn_ht_cap) in mwifiex_save_curr_bcn()
2943 curr_bss->bcn_ht_cap = (struct ieee80211_ht_cap *) in mwifiex_save_curr_bcn()
2944 (curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2945 curr_bss->ht_cap_offset); in mwifiex_save_curr_bcn()
2947 if (curr_bss->bcn_ht_oper) in mwifiex_save_curr_bcn()
2948 curr_bss->bcn_ht_oper = (struct ieee80211_ht_operation *) in mwifiex_save_curr_bcn()
2949 (curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2950 curr_bss->ht_info_offset); in mwifiex_save_curr_bcn()
2952 if (curr_bss->bcn_vht_cap) in mwifiex_save_curr_bcn()
2953 curr_bss->bcn_vht_cap = (void *)(curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2954 curr_bss->vht_cap_offset); in mwifiex_save_curr_bcn()
2956 if (curr_bss->bcn_vht_oper) in mwifiex_save_curr_bcn()
2957 curr_bss->bcn_vht_oper = (void *)(curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2958 curr_bss->vht_info_offset); in mwifiex_save_curr_bcn()
2960 if (curr_bss->bcn_bss_co_2040) in mwifiex_save_curr_bcn()
2961 curr_bss->bcn_bss_co_2040 = in mwifiex_save_curr_bcn()
2962 (curr_bss->beacon_buf + curr_bss->bss_co_2040_offset); in mwifiex_save_curr_bcn()
2964 if (curr_bss->bcn_ext_cap) in mwifiex_save_curr_bcn()
2965 curr_bss->bcn_ext_cap = curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2966 curr_bss->ext_cap_offset; in mwifiex_save_curr_bcn()
2968 if (curr_bss->oper_mode) in mwifiex_save_curr_bcn()
2969 curr_bss->oper_mode = (void *)(curr_bss->beacon_buf + in mwifiex_save_curr_bcn()
2970 curr_bss->oper_mode_offset); in mwifiex_save_curr_bcn()