H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 2 /* Copyright(c) 2019-2020 Realtek Corporation 228 ((((int)(center_freq) - RTW89_6GHZ_SPAN_HEAD) / 5) / 2) in rtw89_ra_report_to_bitrate() 263 /* To decrease size of rtw89_overlapping_6ghz[], 307 .n_bitrates = ARRAY_SIZE(rtw89_bitrates) - 4, in rtw89_get_channel_params() 319 .n_bitrates = ARRAY_SIZE(rtw89_bitrates) - in rtw89_get_channel_params() 275 rtw89_traffic_stats_accu(struct rtw89_dev * rtwdev,struct rtw89_traffic_stats * stats,struct sk_buff * skb,bool tx) rtw89_traffic_stats_accu() argument 1082 u32 dword = FIELD_PREP(RTW89_TXWD_BODY0_WP_OFFSET, desc_info->wp_offset) | rtw89_build_txwd_body0() local 1096 u32 dword = FIELD_PREP(RTW89_TXWD_BODY0_WP_OFFSET_V1, desc_info->wp_offset) | rtw89_build_txwd_body0_v1() local 1108 u32 dword = FIELD_PREP(RTW89_TXWD_BODY1_ADDR_INFO_NUM, desc_info->addr_info_nr) | rtw89_build_txwd_body1_v1() local 1117 u32 dword = FIELD_PREP(RTW89_TXWD_BODY2_TID_INDICATE, desc_info->tid_indicate) | rtw89_build_txwd_body2() local 1127 u32 dword = FIELD_PREP(RTW89_TXWD_BODY3_SW_SEQ, desc_info->seq) | rtw89_build_txwd_body3() local 1136 u32 dword = FIELD_PREP(RTW89_TXWD_BODY4_SEC_IV_L0, desc_info->sec_seq[0]) | rtw89_build_txwd_body4() local 1144 u32 dword = FIELD_PREP(RTW89_TXWD_BODY5_SEC_IV_H2, desc_info->sec_seq[2]) | rtw89_build_txwd_body5() local 1154 u32 dword = FIELD_PREP(RTW89_TXWD_BODY7_USE_RATE_V1, desc_info->use_rate) | rtw89_build_txwd_body7_v1() local 1162 u32 dword = FIELD_PREP(RTW89_TXWD_INFO0_USE_RATE, desc_info->use_rate) | rtw89_build_txwd_info0() local 1174 u32 dword = FIELD_PREP(RTW89_TXWD_INFO0_DATA_STBC, desc_info->stbc) | rtw89_build_txwd_info0_v1() local 1186 u32 dword = FIELD_PREP(RTW89_TXWD_INFO1_MAX_AGGNUM, desc_info->ampdu_num) | rtw89_build_txwd_info1() local 1196 u32 dword = FIELD_PREP(RTW89_TXWD_INFO2_AMPDU_DENSITY, desc_info->ampdu_density) | rtw89_build_txwd_info2() local 1206 u32 dword = FIELD_PREP(RTW89_TXWD_INFO2_AMPDU_DENSITY, desc_info->ampdu_density) | rtw89_build_txwd_info2_v1() local 1216 u32 dword = FIELD_PREP(RTW89_TXWD_INFO4_RTS_EN, rts_en) | rtw89_build_txwd_info4() local 1275 u32 dword = FIELD_PREP(BE_TXD_BODY0_WP_OFFSET_V1, desc_info->wp_offset) | rtw89_build_txwd_body0_v2() local 1286 u32 dword = FIELD_PREP(BE_TXD_BODY1_ADDR_INFO_NUM, desc_info->addr_info_nr) | rtw89_build_txwd_body1_v2() local 1295 u32 dword = FIELD_PREP(BE_TXD_BODY2_TID_IND, desc_info->tid_indicate) | rtw89_build_txwd_body2_v2() local 1307 u32 dword = FIELD_PREP(BE_TXD_BODY3_WIFI_SEQ, desc_info->seq); rtw89_build_txwd_body3_v2() local 1314 u32 dword = FIELD_PREP(BE_TXD_BODY4_SEC_IV_L0, desc_info->sec_seq[0]) | rtw89_build_txwd_body4_v2() local 1322 u32 dword = FIELD_PREP(BE_TXD_BODY5_SEC_IV_H2, desc_info->sec_seq[2]) | rtw89_build_txwd_body5_v2() local 1332 u32 dword = FIELD_PREP(BE_TXD_BODY7_USERATE_SEL, desc_info->use_rate) | rtw89_build_txwd_body7_v2() local 1342 u32 dword = FIELD_PREP(BE_TXD_INFO0_DATA_STBC, desc_info->stbc) | rtw89_build_txwd_info0_v2() local 1352 u32 dword = FIELD_PREP(BE_TXD_INFO1_MAX_AGG_NUM, desc_info->ampdu_num) | rtw89_build_txwd_info1_v2() local 1362 u32 dword = FIELD_PREP(BE_TXD_INFO2_AMPDU_DENSITY, desc_info->ampdu_density) | rtw89_build_txwd_info2_v2() local 1372 u32 dword = FIELD_PREP(BE_TXD_INFO4_RTS_EN, rts_en) | rtw89_build_txwd_info4_v2() local 1408 u32 dword = FIELD_PREP(AX_RXD_RPKT_LEN_MASK, desc_info->pkt_size) | rtw89_build_txwd_fwcmd0_v1() local 1428 u32 dword = FIELD_PREP(BE_RXD_RPKT_LEN_MASK, desc_info->pkt_size) | rtw89_build_txwd_fwcmd0_v2() local 3249 rtw89_core_acquire_bit_map(unsigned long * addr,unsigned long size) rtw89_core_acquire_bit_map() argument 4017 u32 size = sizeof(struct ieee80211_supported_band); rtw89_core_set_supported_band() local [all...] |