Home
last modified time | relevance | path

Searched refs:rtwsta (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/net/wireless/realtek/rtw89/
A Dcam.c222 struct rtw89_sta *rtwsta = sta_to_rtwsta_safe(sta); in rtw89_cam_attach_sec_cam() local
234 addr_cam = rtw89_get_addr_cam_of(rtwvif, rtwsta); in rtw89_cam_attach_sec_cam()
253 ret = rtw89_fw_h2c_cam(rtwdev, rtwvif, rtwsta, NULL); in rtw89_cam_attach_sec_cam()
383 struct rtw89_sta *rtwsta = sta_to_rtwsta_safe(sta); in rtw89_cam_sec_key_del() local
398 addr_cam = rtw89_get_addr_cam_of(rtwvif, rtwsta); in rtw89_cam_sec_key_del()
410 ret = rtw89_fw_h2c_cam(rtwdev, rtwvif, rtwsta, NULL); in rtw89_cam_sec_key_del()
609 struct rtw89_sta *rtwsta, u8 *cmd) in rtw89_cam_fill_bssid_cam_info() argument
652 struct rtw89_sta *rtwsta, in rtw89_cam_fill_addr_cam_info() argument
711 FWCMD_SET_ADDR_MACID(cmd, rtwsta ? rtwsta->mac_id : rtwvif->mac_id); in rtw89_cam_fill_addr_cam_info()
741 struct rtw89_sta *rtwsta, in rtw89_cam_fill_dctl_sec_cam_info_v1() argument
[all …]
A Dcore.c384 struct rtw89_sta *rtwsta; in rtw89_core_tx_update_ampdu_info() local
521 struct rtw89_sta *rtwsta; in rtw89_core_tx_get_mac_id() local
527 return rtwsta->mac_id; in rtw89_core_tx_get_mac_id()
629 if (rtwsta && rtwsta->ra_report.might_fallback_legacy) in __rtw89_core_tx_check_he_qos_htc()
656 *htc = rtwsta->htc_template ? rtwsta->htc_template : in __rtw89_core_tx_adjust_he_qos_htc()
714 desc_info->er_cap = rtwsta ? rtwsta->er_cap : false; in rtw89_core_tx_update_data_info()
1878 if (rtwsta->disassoc) { in rtw89_core_ba_work()
1937 if (unlikely(!rtwsta) || unlikely(rtwsta->disassoc)) in rtw89_core_stop_tx_ba_session()
2440 rtwsta->rtwdev = rtwdev; in rtw89_core_sta_add()
2441 rtwsta->rtwvif = rtwvif; in rtw89_core_sta_add()
[all …]
A Dwow.c422 struct rtw89_sta *rtwsta = NULL; in rtw89_wow_cfg_wake() local
428 rtwsta = (struct rtw89_sta *)wow_sta->drv_priv; in rtw89_wow_cfg_wake()
449 ret = rtw89_chip_h2c_dctl_sec_cam(rtwdev, rtwvif, rtwsta); in rtw89_wow_cfg_wake()
457 ret = rtw89_fw_h2c_join_info(rtwdev, rtwvif, rtwsta, !is_conn); in rtw89_wow_cfg_wake()
463 ret = rtw89_fw_h2c_cam(rtwdev, rtwvif, rtwsta, NULL); in rtw89_wow_cfg_wake()
500 struct rtw89_sta *rtwsta = NULL; in rtw89_wow_swap_fw() local
508 rtwsta = (struct rtw89_sta *)wow_sta->drv_priv; in rtw89_wow_swap_fw()
520 ret = rtw89_fw_h2c_role_maintain(rtwdev, rtwvif, rtwsta, in rtw89_wow_swap_fw()
536 ret = rtw89_fw_h2c_join_info(rtwdev, rtwvif, rtwsta, !is_conn); in rtw89_wow_swap_fw()
542 ret = rtw89_fw_h2c_cam(rtwdev, rtwvif, rtwsta, NULL); in rtw89_wow_swap_fw()
[all …]
A Dmac80211.c470 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_ops_set_tim() local
471 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_ops_set_tim()
609 rtwsta->ampdu_params[tid].agg_num = params->buf_size; in rtw89_ops_ampdu_action()
610 rtwsta->ampdu_params[tid].amsdu = params->amsdu; in rtw89_ops_ampdu_action()
616 rtw89_fw_h2c_ba_cam(rtwdev, rtwsta, true, params); in rtw89_ops_ampdu_action()
621 rtw89_fw_h2c_ba_cam(rtwdev, rtwsta, false, params); in rtw89_ops_ampdu_action()
652 sinfo->txrate = rtwsta->ra_report.txrate; in rtw89_ops_sta_statistics()
697 struct ieee80211_vif *vif = rtwvif_to_vif(rtwsta->rtwvif); in rtw89_ra_mask_info_update_iter()
702 rtwsta->use_cfg_mask = true; in rtw89_ra_mask_info_update_iter()
703 rtwsta->mask = *br_data->mask; in rtw89_ra_mask_info_update_iter()
[all …]
A Dphy.c143 if (!rtwsta->use_cfg_mask) in rtw89_phy_ra_mask_cfg()
198 struct rtw89_sta *rtwsta, in rtw89_phy_ra_gi_ltf() argument
208 if (!rtwsta->use_cfg_mask) in rtw89_phy_ra_gi_ltf()
237 struct rtw89_ra_info *ra = &rtwsta->ra; in rtw89_phy_ra_sta_update()
370 ra->er_cap = rtwsta->er_cap; in rtw89_phy_ra_sta_update()
372 ra->macid = rtwsta->mac_id; in rtw89_phy_ra_sta_update()
398 struct rtw89_ra_info *ra = &rtwsta->ra; in rtw89_phy_ra_updata_sta()
2217 if (mac_id != rtwsta->mac_id) in rtw89_phy_c2h_ra_rpt_iter()
2964 if (rtwsta->prev_rssi == 0) { in rtw89_phy_stat_rssi_update_iter()
2965 rtwsta->prev_rssi = rssi_curr; in rtw89_phy_stat_rssi_update_iter()
[all …]
A Dfw.c731 struct rtw89_sta *rtwsta) in rtw89_fw_h2c_dctl_sec_cam_v1() argument
771 u8 macid = rtwsta->mac_id; in rtw89_fw_h2c_ba_cam()
1276 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id; in rtw89_fw_h2c_assoc_cmac_tbl()
1345 struct rtw89_sta *rtwsta) in rtw89_fw_h2c_txtime_cmac_tbl() argument
1359 if (rtwsta->cctl_tx_time) { in rtw89_fw_h2c_txtime_cmac_tbl()
1363 if (rtwsta->cctl_tx_retry_limit) { in rtw89_fw_h2c_txtime_cmac_tbl()
1387 struct rtw89_sta *rtwsta) in rtw89_fw_h2c_txpath_cmac_tbl() argument
1491 struct rtw89_sta *rtwsta, in rtw89_fw_h2c_role_maintain() argument
1495 u8 mac_id = rtwsta ? rtwsta->mac_id : rtwvif->mac_id; in rtw89_fw_h2c_role_maintain()
1500 if (rtwsta) in rtw89_fw_h2c_role_maintain()
[all …]
A Dcam.h370 struct rtw89_sta *rtwsta,
374 struct rtw89_sta *rtwsta,
378 struct rtw89_sta *rtwsta, u8 *cmd);
A Dmac.c5197 u8 mac_idx = rtwsta->rtwvif->mac_idx; in __rtw89_mac_set_tx_time()
5202 if (rtwsta->cctl_tx_time) { in __rtw89_mac_set_tx_time()
5226 rtwsta->cctl_tx_time = true; in rtw89_mac_set_tx_time()
5230 rtwsta->cctl_tx_time = false; in rtw89_mac_set_tx_time()
5239 u8 mac_idx = rtwsta->rtwvif->mac_idx; in rtw89_mac_get_tx_time()
5243 if (rtwsta->cctl_tx_time) { in rtw89_mac_get_tx_time()
5260 struct rtw89_sta *rtwsta, in rtw89_mac_set_tx_retry_limit() argument
5265 rtwsta->data_tx_cnt_lmt = tx_retry; in rtw89_mac_set_tx_retry_limit()
5268 rtwsta->cctl_tx_retry_limit = true; in rtw89_mac_set_tx_retry_limit()
5285 if (rtwsta->cctl_tx_retry_limit) { in rtw89_mac_get_tx_retry_limit()
[all …]
A Dser.c309 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in ser_sta_deinit_cam_iter() local
312 rtw89_cam_deinit_addr_cam(rtwdev, &rtwsta->addr_cam); in ser_sta_deinit_cam_iter()
314 rtw89_cam_deinit_bssid_cam(rtwdev, &rtwsta->bssid_cam); in ser_sta_deinit_cam_iter()
316 INIT_LIST_HEAD(&rtwsta->ba_cam_list); in ser_sta_deinit_cam_iter()
A Ddebug.c3209 struct rate_info *rate = &rtwsta->ra_report.txrate; in rtw89_sta_info_get_iter()
3210 struct ieee80211_rx_status *status = &rtwsta->rx_status; in rtw89_sta_info_get_iter()
3212 struct rtw89_dev *rtwdev = rtwsta->rtwdev; in rtw89_sta_info_get_iter()
3217 seq_printf(m, "TX rate [%d]: ", rtwsta->mac_id); in rtw89_sta_info_get_iter()
3237 seq_printf(m, "RX rate [%d]: ", rtwsta->mac_id); in rtw89_sta_info_get_iter()
3259 seq_printf(m, "\t(hw_rate=0x%x)\n", rtwsta->rx_hw_rate); in rtw89_sta_info_get_iter()
3261 rssi = ewma_rssi_read(&rtwsta->avg_rssi); in rtw89_sta_info_get_iter()
3265 rssi = ewma_rssi_read(&rtwsta->rssi[i]); in rtw89_sta_info_get_iter()
3397 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_dump_ba_cam()
3422 rtw89_dump_addr_cam(m, &rtwsta->addr_cam); in rtw89_sta_ids_get_iter()
[all …]
A Dcore.h2585 struct rtw89_sta *rtwsta);
4196 void *p = rtwsta; in rtwsta_to_sta()
4203 return rtwsta ? rtwsta_to_sta(rtwsta) : NULL; in rtwsta_to_sta_safe()
4272 struct rtw89_sta *rtwsta) in rtw89_get_addr_cam_of() argument
4274 if (rtwsta) { in rtw89_get_addr_cam_of()
4275 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta); in rtw89_get_addr_cam_of()
4278 return &rtwsta->addr_cam; in rtw89_get_addr_cam_of()
4285 struct rtw89_sta *rtwsta) in rtw89_get_bssid_cam_of() argument
4287 if (rtwsta) { in rtw89_get_bssid_cam_of()
4291 return &rtwsta->bssid_cam; in rtw89_get_bssid_cam_of()
[all …]
A Dmac.h1094 int rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
1096 int rtw89_mac_get_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
1099 struct rtw89_sta *rtwsta,
1102 struct rtw89_sta *rtwsta, u8 *tx_retry);
A Dcoex.h152 struct rtw89_sta *rtwsta, enum btc_role_state state);
A Dcoex.c3649 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_tx_time_iter()
5225 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta); in rtw89_btc_ntfy_role_info()
5246 if (rtwsta) { in rtw89_btc_ntfy_role_info()
5248 rtwsta->mac_id); in rtw89_btc_ntfy_role_info()
5284 r.mac_id = rtwsta->mac_id; in rtw89_btc_ntfy_role_info()
5488 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_btc_ntfy_wl_sta_iter()
5553 if (rtwsta->rx_hw_rate <= RTW89_HW_RATE_CCK2 && in rtw89_btc_ntfy_wl_sta_iter()
5558 if (last_tx_rate != rtwsta->ra_report.hw_rate || in rtw89_btc_ntfy_wl_sta_iter()
5559 last_rx_rate != rtwsta->rx_hw_rate || in rtw89_btc_ntfy_wl_sta_iter()
5564 link_info_t->tx_rate = rtwsta->ra_report.hw_rate; in rtw89_btc_ntfy_wl_sta_iter()
[all …]
A Dfw.h3474 struct rtw89_sta *rtwsta);
3476 struct rtw89_sta *rtwsta);
3480 struct rtw89_sta *rtwsta, const u8 *scan_mac_addr);
3483 struct rtw89_sta *rtwsta);
3488 struct rtw89_sta *rtwsta,
3491 struct rtw89_sta *rtwsta, bool dis_conn);
3526 int rtw89_fw_h2c_ba_cam(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,

Completed in 102 milliseconds