Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/realtek/rtw89/
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()
247 ret = rtw89_chip_h2c_dctl_sec_cam(rtwdev, 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()
407 ret = rtw89_chip_h2c_dctl_sec_cam(rtwdev, 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
612 struct rtw89_bssid_cam_entry *bssid_cam = rtw89_get_bssid_cam_of(rtwvif, rtwsta); in rtw89_cam_fill_bssid_cam_info()
[all …]
Dcore.c384 struct rtw89_sta *rtwsta; in rtw89_core_tx_update_ampdu_info() local
402 rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_core_tx_update_ampdu_info()
404 ampdu_num = (u8)((rtwsta->ampdu_params[tid].agg_num ? in rtw89_core_tx_update_ampdu_info()
405 rtwsta->ampdu_params[tid].agg_num : in rtw89_core_tx_update_ampdu_info()
423 struct rtw89_sta *rtwsta = sta_to_rtwsta_safe(sta); in rtw89_core_tx_update_sec_key() local
437 addr_cam = rtw89_get_addr_cam_of(rtwvif, rtwsta); in rtw89_core_tx_update_sec_key()
594 struct rtw89_sta *rtwsta = sta_to_rtwsta_safe(sta); in __rtw89_core_tx_check_he_qos_htc() local
612 if (rtwsta && rtwsta->ra_report.might_fallback_legacy) in __rtw89_core_tx_check_he_qos_htc()
623 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in __rtw89_core_tx_adjust_he_qos_htc() local
639 *htc = rtwsta->htc_template ? rtwsta->htc_template : in __rtw89_core_tx_adjust_he_qos_htc()
[all …]
Dmac80211.c455 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_ops_set_tim() local
456 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_ops_set_tim()
575 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_ops_ampdu_action() local
594 rtwsta->ampdu_params[tid].agg_num = params->buf_size; in rtw89_ops_ampdu_action()
595 rtwsta->ampdu_params[tid].amsdu = params->amsdu; in rtw89_ops_ampdu_action()
601 rtw89_fw_h2c_ba_cam(rtwdev, rtwsta, true, params); in rtw89_ops_ampdu_action()
606 rtw89_fw_h2c_ba_cam(rtwdev, rtwsta, false, params); in rtw89_ops_ampdu_action()
635 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_ops_sta_statistics() local
637 sinfo->txrate = rtwsta->ra_report.txrate; in rtw89_ops_sta_statistics()
681 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_ra_mask_info_update_iter() local
[all …]
Dfw.c618 struct rtw89_sta *rtwsta, const u8 *scan_mac_addr) in rtw89_fw_h2c_cam() argument
629 rtw89_cam_fill_addr_cam_info(rtwdev, rtwvif, rtwsta, scan_mac_addr, skb->data); in rtw89_fw_h2c_cam()
630 rtw89_cam_fill_bssid_cam_info(rtwdev, rtwvif, rtwsta, skb->data); in rtw89_fw_h2c_cam()
654 struct rtw89_sta *rtwsta) in rtw89_fw_h2c_dctl_sec_cam_v1() argument
666 rtw89_cam_fill_dctl_sec_cam_info_v1(rtwdev, rtwvif, rtwsta, skb->data); in rtw89_fw_h2c_dctl_sec_cam_v1()
689 int rtw89_fw_h2c_ba_cam(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta, in rtw89_fw_h2c_ba_cam() argument
693 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_fw_h2c_ba_cam()
694 u8 macid = rtwsta->mac_id; in rtw89_fw_h2c_ba_cam()
700 rtw89_core_acquire_sta_ba_entry(rtwdev, rtwsta, params->tid, &entry_idx) : in rtw89_fw_h2c_ba_cam()
701 rtw89_core_release_sta_ba_entry(rtwdev, rtwsta, params->tid, &entry_idx); in rtw89_fw_h2c_ba_cam()
[all …]
Dphy.c134 static u64 rtw89_phy_ra_mask_cfg(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta) in rtw89_phy_ra_mask_cfg() argument
136 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta); in rtw89_phy_ra_mask_cfg()
138 struct cfg80211_bitrate_mask *mask = &rtwsta->mask; in rtw89_phy_ra_mask_cfg()
142 if (!rtwsta->use_cfg_mask) in rtw89_phy_ra_mask_cfg()
197 struct rtw89_sta *rtwsta, in rtw89_phy_ra_gi_ltf() argument
201 struct cfg80211_bitrate_mask *mask = &rtwsta->mask; in rtw89_phy_ra_gi_ltf()
207 if (!rtwsta->use_cfg_mask) in rtw89_phy_ra_gi_ltf()
233 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_phy_ra_sta_update() local
234 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_phy_ra_sta_update()
236 struct rtw89_ra_info *ra = &rtwsta->ra; in rtw89_phy_ra_sta_update()
[all …]
Ddebug.c2333 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_sta_info_get_iter() local
2334 struct rate_info *rate = &rtwsta->ra_report.txrate; in rtw89_sta_info_get_iter()
2335 struct ieee80211_rx_status *status = &rtwsta->rx_status; in rtw89_sta_info_get_iter()
2337 struct rtw89_dev *rtwdev = rtwsta->rtwdev; in rtw89_sta_info_get_iter()
2342 seq_printf(m, "TX rate [%d]: ", rtwsta->mac_id); in rtw89_sta_info_get_iter()
2356 seq_printf(m, "%s", rtwsta->ra_report.might_fallback_legacy ? " FB_G" : ""); in rtw89_sta_info_get_iter()
2357 seq_printf(m, "\t(hw_rate=0x%x)", rtwsta->ra_report.hw_rate); in rtw89_sta_info_get_iter()
2358 seq_printf(m, "\t==> agg_wait=%d (%d)\n", rtwsta->max_agg_wait, in rtw89_sta_info_get_iter()
2361 seq_printf(m, "RX rate [%d]: ", rtwsta->mac_id); in rtw89_sta_info_get_iter()
2382 seq_printf(m, "\t(hw_rate=0x%x)\n", rtwsta->rx_hw_rate); in rtw89_sta_info_get_iter()
[all …]
Dmac.c4644 __rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta, in __rtw89_mac_set_tx_time() argument
4648 u8 mac_idx = rtwsta->rtwvif->mac_idx; in __rtw89_mac_set_tx_time()
4653 if (rtwsta->cctl_tx_time) { in __rtw89_mac_set_tx_time()
4654 rtwsta->ampdu_max_time = (max_tx_time - 512) >> 9; in __rtw89_mac_set_tx_time()
4655 ret = rtw89_fw_h2c_txtime_cmac_tbl(rtwdev, rtwsta); in __rtw89_mac_set_tx_time()
4671 int rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta, in rtw89_mac_set_tx_time() argument
4677 rtwsta->cctl_tx_time = true; in rtw89_mac_set_tx_time()
4678 ret = __rtw89_mac_set_tx_time(rtwdev, rtwsta, tx_time); in rtw89_mac_set_tx_time()
4680 ret = __rtw89_mac_set_tx_time(rtwdev, rtwsta, tx_time); in rtw89_mac_set_tx_time()
4681 rtwsta->cctl_tx_time = false; in rtw89_mac_set_tx_time()
[all …]
Dcam.h370 struct rtw89_sta *rtwsta,
374 struct rtw89_sta *rtwsta,
378 struct rtw89_sta *rtwsta, u8 *cmd);
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()
Dcore.h2353 struct rtw89_sta *rtwsta);
3821 static inline struct ieee80211_sta *rtwsta_to_sta(struct rtw89_sta *rtwsta) in rtwsta_to_sta() argument
3823 void *p = rtwsta; in rtwsta_to_sta()
3828 static inline struct ieee80211_sta *rtwsta_to_sta_safe(struct rtw89_sta *rtwsta) in rtwsta_to_sta_safe() argument
3830 return rtwsta ? rtwsta_to_sta(rtwsta) : NULL; in rtwsta_to_sta_safe()
3899 struct rtw89_sta *rtwsta) in rtw89_get_addr_cam_of() argument
3901 if (rtwsta) { in rtw89_get_addr_cam_of()
3902 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta); in rtw89_get_addr_cam_of()
3905 return &rtwsta->addr_cam; in rtw89_get_addr_cam_of()
3912 struct rtw89_sta *rtwsta) in rtw89_get_bssid_cam_of() argument
[all …]
Dmac.h965 int rtw89_mac_set_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
967 int rtw89_mac_get_tx_time(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,
970 struct rtw89_sta *rtwsta,
973 struct rtw89_sta *rtwsta, u8 *tx_retry);
Dcoex.h152 struct rtw89_sta *rtwsta, enum btc_role_state state);
Dcoex.c3445 struct rtw89_sta *rtwsta = (struct rtw89_sta *)sta->drv_priv; in rtw89_tx_time_iter() local
3449 struct rtw89_vif *rtwvif = rtwsta->rtwvif; in rtw89_tx_time_iter()
3474 rtw89_mac_get_tx_time(rtwdev, rtwsta, &plink->tx_time); in rtw89_tx_time_iter()
3475 rtw89_mac_get_tx_retry_limit(rtwdev, rtwsta, &plink->tx_retry); in rtw89_tx_time_iter()
3483 rtw89_mac_set_tx_time(rtwdev, rtwsta, true, plink->tx_time); in rtw89_tx_time_iter()
3484 rtw89_mac_set_tx_retry_limit(rtwdev, rtwsta, true, in rtw89_tx_time_iter()
3491 rtw89_mac_set_tx_time(rtwdev, rtwsta, false, tx_time); in rtw89_tx_time_iter()
3492 rtw89_mac_set_tx_retry_limit(rtwdev, rtwsta, false, tx_retry); in rtw89_tx_time_iter()
5029 struct rtw89_sta *rtwsta, enum btc_role_state state) in rtw89_btc_ntfy_role_info() argument
5034 struct ieee80211_sta *sta = rtwsta_to_sta(rtwsta); in rtw89_btc_ntfy_role_info()
[all …]
Dfw.h2771 struct rtw89_sta *rtwsta);
2773 struct rtw89_sta *rtwsta);
2777 struct rtw89_sta *rtwsta, const u8 *scan_mac_addr);
2780 struct rtw89_sta *rtwsta);
2785 struct rtw89_sta *rtwsta,
2788 struct rtw89_sta *rtwsta, bool dis_conn);
2819 int rtw89_fw_h2c_ba_cam(struct rtw89_dev *rtwdev, struct rtw89_sta *rtwsta,