Lines Matching refs:sta_ptr
31 struct mwifiex_sta_node *sta_ptr, in mwifiex_check_ibss_peer_capabilties() argument
75 sta_ptr->is_11n_enabled = true; in mwifiex_check_ibss_peer_capabilties()
77 sta_ptr->max_amsdu = le16_to_cpu(ht_cap->cap_info) & in mwifiex_check_ibss_peer_capabilties()
83 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilties()
87 sta_ptr->is_11ac_enabled = true; in mwifiex_check_ibss_peer_capabilties()
92 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilties()
96 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilties()
100 sta_ptr->max_amsdu = in mwifiex_check_ibss_peer_capabilties()
108 sta_ptr->max_amsdu); in mwifiex_check_ibss_peer_capabilties()
257 struct mwifiex_sta_node *sta_ptr; in mwifiex_parse_tdls_event() local
269 sta_ptr = mwifiex_get_sta_entry(priv, tdls_evt->peer_mac); in mwifiex_parse_tdls_event()
270 if (!sta_ptr) { in mwifiex_parse_tdls_event()
295 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
298 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
309 if (sta_ptr->tdls_status == TDLS_IN_BASE_CHAN) in mwifiex_parse_tdls_event()
313 sta_ptr->tdls_status = TDLS_IN_BASE_CHAN; in mwifiex_parse_tdls_event()
316 if (sta_ptr->tdls_status == TDLS_IN_OFF_CHAN) in mwifiex_parse_tdls_event()
320 sta_ptr->tdls_status = TDLS_IN_OFF_CHAN; in mwifiex_parse_tdls_event()
329 sta_ptr->tdls_status = TDLS_CHAN_SWITCHING; in mwifiex_parse_tdls_event()
347 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_uap_tx_pause() local
365 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_uap_tx_pause()
366 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_uap_tx_pause()
367 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_uap_tx_pause()
379 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_tx_pause() local
401 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_sta_tx_pause()
402 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_sta_tx_pause()
403 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_sta_tx_pause()
708 struct mwifiex_sta_node *sta_ptr; in mwifiex_process_sta_event() local
938 sta_ptr = mwifiex_add_sta_entry(priv, ibss_sta_addr); in mwifiex_process_sta_event()
939 if (sta_ptr && adapter->adhoc_11n_enabled) { in mwifiex_process_sta_event()
940 mwifiex_check_ibss_peer_capabilties(priv, sta_ptr, in mwifiex_process_sta_event()
942 if (sta_ptr->is_11n_enabled) in mwifiex_process_sta_event()
944 sta_ptr->ampdu_sta[i] = in mwifiex_process_sta_event()
948 sta_ptr->ampdu_sta[i] = in mwifiex_process_sta_event()
950 memset(sta_ptr->rx_seq, 0xff, sizeof(sta_ptr->rx_seq)); in mwifiex_process_sta_event()
958 sta_ptr = mwifiex_get_sta_entry(priv, ibss_sta_addr); in mwifiex_process_sta_event()
959 if (sta_ptr && sta_ptr->is_11n_enabled) { in mwifiex_process_sta_event()