Lines Matching refs:tp
243 struct mwifiex_tx_pause_tlv *tp; in mwifiex_process_uap_tx_pause() local
247 tp = (void *)tlv; in mwifiex_process_uap_tx_pause()
250 tp->peermac, tp->tx_pause, in mwifiex_process_uap_tx_pause()
251 tp->pkt_cnt); in mwifiex_process_uap_tx_pause()
253 if (ether_addr_equal(tp->peermac, priv->netdev->dev_addr)) { in mwifiex_process_uap_tx_pause()
254 if (tp->tx_pause) in mwifiex_process_uap_tx_pause()
258 } else if (is_multicast_ether_addr(tp->peermac)) { in mwifiex_process_uap_tx_pause()
259 mwifiex_update_ralist_tx_pause(priv, tp->peermac, tp->tx_pause); in mwifiex_process_uap_tx_pause()
262 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_uap_tx_pause()
265 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_uap_tx_pause()
266 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_uap_tx_pause()
267 mwifiex_update_ralist_tx_pause(priv, tp->peermac, in mwifiex_process_uap_tx_pause()
268 tp->tx_pause); in mwifiex_process_uap_tx_pause()
276 struct mwifiex_tx_pause_tlv *tp; in mwifiex_process_sta_tx_pause() local
281 tp = (void *)tlv; in mwifiex_process_sta_tx_pause()
284 tp->peermac, tp->tx_pause, in mwifiex_process_sta_tx_pause()
285 tp->pkt_cnt); in mwifiex_process_sta_tx_pause()
287 if (ether_addr_equal(tp->peermac, priv->cfg_bssid)) { in mwifiex_process_sta_tx_pause()
288 if (tp->tx_pause) in mwifiex_process_sta_tx_pause()
296 status = mwifiex_get_tdls_link_status(priv, tp->peermac); in mwifiex_process_sta_tx_pause()
299 sta_ptr = mwifiex_get_sta_entry(priv, tp->peermac); in mwifiex_process_sta_tx_pause()
302 if (sta_ptr && sta_ptr->tx_pause != tp->tx_pause) { in mwifiex_process_sta_tx_pause()
303 sta_ptr->tx_pause = tp->tx_pause; in mwifiex_process_sta_tx_pause()
305 tp->peermac, in mwifiex_process_sta_tx_pause()
306 tp->tx_pause); in mwifiex_process_sta_tx_pause()