Lines Matching refs:priv
27 int mwifiex_ret_11n_delba(struct mwifiex_private *priv,
29 int mwifiex_ret_11n_addba_req(struct mwifiex_private *priv,
31 int mwifiex_cmd_11n_cfg(struct mwifiex_private *priv,
34 int mwifiex_cmd_append_11n_tlv(struct mwifiex_private *priv,
39 int mwifiex_set_get_11n_htcap_cfg(struct mwifiex_private *priv,
41 void mwifiex_11n_delete_tx_ba_stream_tbl_entry(struct mwifiex_private *priv,
44 void mwifiex_11n_delete_all_tx_ba_stream_tbl(struct mwifiex_private *priv);
47 *priv, int tid,
49 void mwifiex_create_ba_tbl(struct mwifiex_private *priv, u8 *ra, int tid,
51 int mwifiex_send_addba(struct mwifiex_private *priv, int tid, u8 *peer_mac);
52 int mwifiex_send_delba(struct mwifiex_private *priv, int tid, u8 *peer_mac,
54 void mwifiex_11n_delete_ba_stream(struct mwifiex_private *priv, u8 *del_ba);
55 int mwifiex_get_rx_reorder_tbl(struct mwifiex_private *priv,
57 int mwifiex_get_tx_ba_stream_tbl(struct mwifiex_private *priv,
59 int mwifiex_cmd_recfg_tx_buf(struct mwifiex_private *priv,
65 void mwifiex_del_tx_ba_stream_tbl_by_ra(struct mwifiex_private *priv, u8 *ra);
69 mwifiex_is_station_ampdu_allowed(struct mwifiex_private *priv, in mwifiex_is_station_ampdu_allowed() argument
72 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ptr->ra); in mwifiex_is_station_ampdu_allowed()
82 mwifiex_is_ampdu_allowed(struct mwifiex_private *priv, in mwifiex_is_ampdu_allowed() argument
87 if (GET_BSS_ROLE(priv) == MWIFIEX_BSS_ROLE_UAP) { in mwifiex_is_ampdu_allowed()
88 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); in mwifiex_is_ampdu_allowed()
91 return mwifiex_is_station_ampdu_allowed(priv, ptr, tid); in mwifiex_is_ampdu_allowed()
93 return (priv->aggr_prio_tbl[tid].ampdu_ap != in mwifiex_is_ampdu_allowed()
102 mwifiex_is_amsdu_allowed(struct mwifiex_private *priv, int tid) in mwifiex_is_amsdu_allowed() argument
104 return (((priv->aggr_prio_tbl[tid].amsdu != BA_STREAM_NOT_ALLOWED) && in mwifiex_is_amsdu_allowed()
105 (priv->is_data_rate_auto || !(priv->bitmap_rates[2] & 0x03))) in mwifiex_is_amsdu_allowed()
115 struct mwifiex_private *priv; in mwifiex_space_avail_for_new_ba_stream() local
122 priv = adapter->priv[i]; in mwifiex_space_avail_for_new_ba_stream()
123 if (priv) in mwifiex_space_avail_for_new_ba_stream()
125 &priv->tx_ba_stream_tbl_ptr); in mwifiex_space_avail_for_new_ba_stream()
144 mwifiex_find_stream_to_delete(struct mwifiex_private *priv, int ptr_tid, in mwifiex_find_stream_to_delete() argument
152 tid = priv->aggr_prio_tbl[ptr_tid].ampdu_user; in mwifiex_find_stream_to_delete()
154 spin_lock_irqsave(&priv->tx_ba_stream_tbl_lock, flags); in mwifiex_find_stream_to_delete()
155 list_for_each_entry(tx_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_find_stream_to_delete()
156 if (tid > priv->aggr_prio_tbl[tx_tbl->tid].ampdu_user) { in mwifiex_find_stream_to_delete()
157 tid = priv->aggr_prio_tbl[tx_tbl->tid].ampdu_user; in mwifiex_find_stream_to_delete()
163 spin_unlock_irqrestore(&priv->tx_ba_stream_tbl_lock, flags); in mwifiex_find_stream_to_delete()
171 static inline int mwifiex_is_sta_11n_enabled(struct mwifiex_private *priv, in mwifiex_is_sta_11n_enabled() argument
175 if (!node || (priv->bss_role != MWIFIEX_BSS_ROLE_UAP) || in mwifiex_is_sta_11n_enabled()
176 !priv->ap_11n_enabled) in mwifiex_is_sta_11n_enabled()
183 mwifiex_tdls_peer_11n_enabled(struct mwifiex_private *priv, const u8 *ra) in mwifiex_tdls_peer_11n_enabled() argument
185 struct mwifiex_sta_node *node = mwifiex_get_sta_entry(priv, ra); in mwifiex_tdls_peer_11n_enabled()