Lines Matching defs:rtwsta
1777 struct rtw89_sta *rtwsta, const u8 *scan_mac_addr)
1788 rtw89_cam_fill_addr_cam_info(rtwdev, rtwvif, rtwsta, scan_mac_addr, skb->data);
1789 rtw89_cam_fill_bssid_cam_info(rtwdev, rtwvif, rtwsta, skb->data);
1812 struct rtw89_sta *rtwsta)
1827 rtw89_cam_fill_dctl_sec_cam_info_v1(rtwdev, rtwvif, rtwsta, h2c);
1851 struct rtw89_sta *rtwsta)
1866 rtw89_cam_fill_dctl_sec_cam_info_v2(rtwdev, rtwvif, rtwsta, h2c);
1890 struct rtw89_sta *rtwsta)
1892 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
1943 int rtw89_fw_h2c_ba_cam(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
1947 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
1949 u8 macid = rtwsta->mac_id;
1956 rtw89_core_acquire_sta_ba_entry(rtwdev, rtwsta, params->tid, &entry_idx) :
1957 rtw89_core_release_sta_ba_entry(rtwdev, rtwsta, params->tid, &entry_idx);
2074 int rtw89_fw_h2c_ba_cam_v1(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
2078 struct rtw89_vif *rtwvif = rtwsta->rtwvif;
2080 u8 macid = rtwsta->mac_id;
2088 rtw89_core_acquire_sta_ba_entry(rtwdev, rtwsta, params->tid, &entry_idx) :
2089 rtw89_core_release_sta_ba_entry(rtwdev, rtwsta, params->tid, &entry_idx);
2658 struct rtw89_sta *rtwsta)
2661 u8 macid = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
2707 struct rtw89_sta *rtwsta)
2709 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
2848 struct rtw89_sta *rtwsta = sta_to_rtwsta_safe(sta);
2854 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
2986 struct rtw89_sta *rtwsta = sta_to_rtwsta_safe(sta);
2987 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
3100 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv;
3117 for_each_set_bit(tid, rtwsta->ampdu_map, IEEE80211_NUM_TIDS) {
3119 agg_num = rtwsta->ampdu_params[tid].agg_num;
3121 agg_num = min(agg_num, rtwsta->ampdu_params[tid].agg_num);
3137 h2c->c0 = le32_encode_bits(rtwsta->mac_id, CCTLINFO_G7_C0_MACID) |
3163 struct rtw89_sta *rtwsta)
3175 SET_CTRL_INFO_MACID(skb->data, rtwsta->mac_id);
3177 if (rtwsta->cctl_tx_time) {
3179 SET_CMC_TBL_AMPDU_MAX_TIME(skb->data, rtwsta->ampdu_max_time);
3181 if (rtwsta->cctl_tx_retry_limit) {
3183 SET_CMC_TBL_DATA_TX_CNT_LMT(skb->data, rtwsta->data_tx_cnt_lmt);
3205 struct rtw89_sta *rtwsta)
3220 SET_CTRL_INFO_MACID(skb->data, rtwsta->mac_id);
3409 struct rtw89_sta *rtwsta,
3413 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
3418 if (rtwsta)
3457 struct rtw89_sta *rtwsta)
3459 struct ieee80211_sta *sta = rtwsta_to_sta_safe(rtwsta);
3482 struct rtw89_sta *rtwsta, bool dis_conn)
3485 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id;
3500 if (net_type == RTW89_NET_TYPE_AP_MODE && rtwsta) {
3532 sta_type = rtw89_fw_get_sta_type(rtwdev, rtwvif, rtwsta);