Commit d86561ff authored by Raja Mani's avatar Raja Mani Committed by Kalle Valo

ath10k: add 10.4 fw wmi pdev cmd ids

Include 10.4 firmware wmi pdev cmd id and prepare wmi vdev map
table wmi_10_4_pdev_param_map and update non 10.4 firmware
pdev cmd map table with newly added vdev cmd id specifically for
10.4 firmware as unsupported.
Signed-off-by: default avatarRaja Mani <rmani@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 93841a15
......@@ -3236,6 +3236,48 @@ static struct wmi_pdev_param_map wmi_tlv_pdev_param_map = {
.burst_dur = WMI_TLV_PDEV_PARAM_BURST_DUR,
.burst_enable = WMI_TLV_PDEV_PARAM_BURST_ENABLE,
.cal_period = WMI_PDEV_PARAM_UNSUPPORTED,
.aggr_burst = WMI_PDEV_PARAM_UNSUPPORTED,
.rx_decap_mode = WMI_PDEV_PARAM_UNSUPPORTED,
.smart_antenna_default_antenna = WMI_PDEV_PARAM_UNSUPPORTED,
.igmpmld_override = WMI_PDEV_PARAM_UNSUPPORTED,
.igmpmld_tid = WMI_PDEV_PARAM_UNSUPPORTED,
.antenna_gain = WMI_PDEV_PARAM_UNSUPPORTED,
.rx_filter = WMI_PDEV_PARAM_UNSUPPORTED,
.set_mcast_to_ucast_tid = WMI_PDEV_PARAM_UNSUPPORTED,
.proxy_sta_mode = WMI_PDEV_PARAM_UNSUPPORTED,
.set_mcast2ucast_mode = WMI_PDEV_PARAM_UNSUPPORTED,
.set_mcast2ucast_buffer = WMI_PDEV_PARAM_UNSUPPORTED,
.remove_mcast2ucast_buffer = WMI_PDEV_PARAM_UNSUPPORTED,
.peer_sta_ps_statechg_enable = WMI_PDEV_PARAM_UNSUPPORTED,
.igmpmld_ac_override = WMI_PDEV_PARAM_UNSUPPORTED,
.block_interbss = WMI_PDEV_PARAM_UNSUPPORTED,
.set_disable_reset_cmdid = WMI_PDEV_PARAM_UNSUPPORTED,
.set_msdu_ttl_cmdid = WMI_PDEV_PARAM_UNSUPPORTED,
.set_ppdu_duration_cmdid = WMI_PDEV_PARAM_UNSUPPORTED,
.txbf_sound_period_cmdid = WMI_PDEV_PARAM_UNSUPPORTED,
.set_promisc_mode_cmdid = WMI_PDEV_PARAM_UNSUPPORTED,
.set_burst_mode_cmdid = WMI_PDEV_PARAM_UNSUPPORTED,
.en_stats = WMI_PDEV_PARAM_UNSUPPORTED,
.mu_group_policy = WMI_PDEV_PARAM_UNSUPPORTED,
.noise_detection = WMI_PDEV_PARAM_UNSUPPORTED,
.noise_threshold = WMI_PDEV_PARAM_UNSUPPORTED,
.dpd_enable = WMI_PDEV_PARAM_UNSUPPORTED,
.set_mcast_bcast_echo = WMI_PDEV_PARAM_UNSUPPORTED,
.atf_strict_sch = WMI_PDEV_PARAM_UNSUPPORTED,
.atf_sched_duration = WMI_PDEV_PARAM_UNSUPPORTED,
.ant_plzn = WMI_PDEV_PARAM_UNSUPPORTED,
.mgmt_retry_limit = WMI_PDEV_PARAM_UNSUPPORTED,
.sensitivity_level = WMI_PDEV_PARAM_UNSUPPORTED,
.signed_txpower_2g = WMI_PDEV_PARAM_UNSUPPORTED,
.signed_txpower_5g = WMI_PDEV_PARAM_UNSUPPORTED,
.enable_per_tid_amsdu = WMI_PDEV_PARAM_UNSUPPORTED,
.enable_per_tid_ampdu = WMI_PDEV_PARAM_UNSUPPORTED,
.cca_threshold = WMI_PDEV_PARAM_UNSUPPORTED,
.rts_fixed_rate = WMI_PDEV_PARAM_UNSUPPORTED,
.pdev_reset = WMI_PDEV_PARAM_UNSUPPORTED,
.wapi_mbssid_offset = WMI_PDEV_PARAM_UNSUPPORTED,
.arp_srcaddr = WMI_PDEV_PARAM_UNSUPPORTED,
.arp_dstaddr = WMI_PDEV_PARAM_UNSUPPORTED,
};
static struct wmi_vdev_param_map wmi_tlv_vdev_param_map = {
......
This diff is collapsed.
......@@ -3011,6 +3011,48 @@ struct wmi_pdev_param_map {
u32 burst_dur;
u32 burst_enable;
u32 cal_period;
u32 aggr_burst;
u32 rx_decap_mode;
u32 smart_antenna_default_antenna;
u32 igmpmld_override;
u32 igmpmld_tid;
u32 antenna_gain;
u32 rx_filter;
u32 set_mcast_to_ucast_tid;
u32 proxy_sta_mode;
u32 set_mcast2ucast_mode;
u32 set_mcast2ucast_buffer;
u32 remove_mcast2ucast_buffer;
u32 peer_sta_ps_statechg_enable;
u32 igmpmld_ac_override;
u32 block_interbss;
u32 set_disable_reset_cmdid;
u32 set_msdu_ttl_cmdid;
u32 set_ppdu_duration_cmdid;
u32 txbf_sound_period_cmdid;
u32 set_promisc_mode_cmdid;
u32 set_burst_mode_cmdid;
u32 en_stats;
u32 mu_group_policy;
u32 noise_detection;
u32 noise_threshold;
u32 dpd_enable;
u32 set_mcast_bcast_echo;
u32 atf_strict_sch;
u32 atf_sched_duration;
u32 ant_plzn;
u32 mgmt_retry_limit;
u32 sensitivity_level;
u32 signed_txpower_2g;
u32 signed_txpower_5g;
u32 enable_per_tid_amsdu;
u32 enable_per_tid_ampdu;
u32 cca_threshold;
u32 rts_fixed_rate;
u32 pdev_reset;
u32 wapi_mbssid_offset;
u32 arp_srcaddr;
u32 arp_dstaddr;
};
#define WMI_PDEV_PARAM_UNSUPPORTED 0
......@@ -3226,6 +3268,100 @@ enum wmi_10x_pdev_param {
WMI_10X_PDEV_PARAM_CAL_PERIOD
};
enum wmi_10_4_pdev_param {
WMI_10_4_PDEV_PARAM_TX_CHAIN_MASK = 0x1,
WMI_10_4_PDEV_PARAM_RX_CHAIN_MASK,
WMI_10_4_PDEV_PARAM_TXPOWER_LIMIT2G,
WMI_10_4_PDEV_PARAM_TXPOWER_LIMIT5G,
WMI_10_4_PDEV_PARAM_TXPOWER_SCALE,
WMI_10_4_PDEV_PARAM_BEACON_GEN_MODE,
WMI_10_4_PDEV_PARAM_BEACON_TX_MODE,
WMI_10_4_PDEV_PARAM_RESMGR_OFFCHAN_MODE,
WMI_10_4_PDEV_PARAM_PROTECTION_MODE,
WMI_10_4_PDEV_PARAM_DYNAMIC_BW,
WMI_10_4_PDEV_PARAM_NON_AGG_SW_RETRY_TH,
WMI_10_4_PDEV_PARAM_AGG_SW_RETRY_TH,
WMI_10_4_PDEV_PARAM_STA_KICKOUT_TH,
WMI_10_4_PDEV_PARAM_AC_AGGRSIZE_SCALING,
WMI_10_4_PDEV_PARAM_LTR_ENABLE,
WMI_10_4_PDEV_PARAM_LTR_AC_LATENCY_BE,
WMI_10_4_PDEV_PARAM_LTR_AC_LATENCY_BK,
WMI_10_4_PDEV_PARAM_LTR_AC_LATENCY_VI,
WMI_10_4_PDEV_PARAM_LTR_AC_LATENCY_VO,
WMI_10_4_PDEV_PARAM_LTR_AC_LATENCY_TIMEOUT,
WMI_10_4_PDEV_PARAM_LTR_SLEEP_OVERRIDE,
WMI_10_4_PDEV_PARAM_LTR_RX_OVERRIDE,
WMI_10_4_PDEV_PARAM_LTR_TX_ACTIVITY_TIMEOUT,
WMI_10_4_PDEV_PARAM_L1SS_ENABLE,
WMI_10_4_PDEV_PARAM_DSLEEP_ENABLE,
WMI_10_4_PDEV_PARAM_PCIELP_TXBUF_FLUSH,
WMI_10_4_PDEV_PARAM_PCIELP_TXBUF_WATERMARK,
WMI_10_4_PDEV_PARAM_PCIELP_TXBUF_TMO_EN,
WMI_10_4_PDEV_PARAM_PCIELP_TXBUF_TMO_VALUE,
WMI_10_4_PDEV_PARAM_PDEV_STATS_UPDATE_PERIOD,
WMI_10_4_PDEV_PARAM_VDEV_STATS_UPDATE_PERIOD,
WMI_10_4_PDEV_PARAM_PEER_STATS_UPDATE_PERIOD,
WMI_10_4_PDEV_PARAM_BCNFLT_STATS_UPDATE_PERIOD,
WMI_10_4_PDEV_PARAM_PMF_QOS,
WMI_10_4_PDEV_PARAM_ARP_AC_OVERRIDE,
WMI_10_4_PDEV_PARAM_DCS,
WMI_10_4_PDEV_PARAM_ANI_ENABLE,
WMI_10_4_PDEV_PARAM_ANI_POLL_PERIOD,
WMI_10_4_PDEV_PARAM_ANI_LISTEN_PERIOD,
WMI_10_4_PDEV_PARAM_ANI_OFDM_LEVEL,
WMI_10_4_PDEV_PARAM_ANI_CCK_LEVEL,
WMI_10_4_PDEV_PARAM_DYNTXCHAIN,
WMI_10_4_PDEV_PARAM_PROXY_STA,
WMI_10_4_PDEV_PARAM_IDLE_PS_CONFIG,
WMI_10_4_PDEV_PARAM_POWER_GATING_SLEEP,
WMI_10_4_PDEV_PARAM_AGGR_BURST,
WMI_10_4_PDEV_PARAM_RX_DECAP_MODE,
WMI_10_4_PDEV_PARAM_FAST_CHANNEL_RESET,
WMI_10_4_PDEV_PARAM_BURST_DUR,
WMI_10_4_PDEV_PARAM_BURST_ENABLE,
WMI_10_4_PDEV_PARAM_SMART_ANTENNA_DEFAULT_ANTENNA,
WMI_10_4_PDEV_PARAM_IGMPMLD_OVERRIDE,
WMI_10_4_PDEV_PARAM_IGMPMLD_TID,
WMI_10_4_PDEV_PARAM_ANTENNA_GAIN,
WMI_10_4_PDEV_PARAM_RX_FILTER,
WMI_10_4_PDEV_SET_MCAST_TO_UCAST_TID,
WMI_10_4_PDEV_PARAM_PROXY_STA_MODE,
WMI_10_4_PDEV_PARAM_SET_MCAST2UCAST_MODE,
WMI_10_4_PDEV_PARAM_SET_MCAST2UCAST_BUFFER,
WMI_10_4_PDEV_PARAM_REMOVE_MCAST2UCAST_BUFFER,
WMI_10_4_PDEV_PEER_STA_PS_STATECHG_ENABLE,
WMI_10_4_PDEV_PARAM_IGMPMLD_AC_OVERRIDE,
WMI_10_4_PDEV_PARAM_BLOCK_INTERBSS,
WMI_10_4_PDEV_PARAM_SET_DISABLE_RESET_CMDID,
WMI_10_4_PDEV_PARAM_SET_MSDU_TTL_CMDID,
WMI_10_4_PDEV_PARAM_SET_PPDU_DURATION_CMDID,
WMI_10_4_PDEV_PARAM_TXBF_SOUND_PERIOD_CMDID,
WMI_10_4_PDEV_PARAM_SET_PROMISC_MODE_CMDID,
WMI_10_4_PDEV_PARAM_SET_BURST_MODE_CMDID,
WMI_10_4_PDEV_PARAM_EN_STATS,
WMI_10_4_PDEV_PARAM_MU_GROUP_POLICY,
WMI_10_4_PDEV_PARAM_NOISE_DETECTION,
WMI_10_4_PDEV_PARAM_NOISE_THRESHOLD,
WMI_10_4_PDEV_PARAM_DPD_ENABLE,
WMI_10_4_PDEV_PARAM_SET_MCAST_BCAST_ECHO,
WMI_10_4_PDEV_PARAM_ATF_STRICT_SCH,
WMI_10_4_PDEV_PARAM_ATF_SCHED_DURATION,
WMI_10_4_PDEV_PARAM_ANT_PLZN,
WMI_10_4_PDEV_PARAM_MGMT_RETRY_LIMIT,
WMI_10_4_PDEV_PARAM_SENSITIVITY_LEVEL,
WMI_10_4_PDEV_PARAM_SIGNED_TXPOWER_2G,
WMI_10_4_PDEV_PARAM_SIGNED_TXPOWER_5G,
WMI_10_4_PDEV_PARAM_ENABLE_PER_TID_AMSDU,
WMI_10_4_PDEV_PARAM_ENABLE_PER_TID_AMPDU,
WMI_10_4_PDEV_PARAM_CCA_THRESHOLD,
WMI_10_4_PDEV_PARAM_RTS_FIXED_RATE,
WMI_10_4_PDEV_PARAM_CAL_PERIOD,
WMI_10_4_PDEV_PARAM_PDEV_RESET,
WMI_10_4_PDEV_PARAM_WAPI_MBSSID_OFFSET,
WMI_10_4_PDEV_PARAM_ARP_SRCADDR,
WMI_10_4_PDEV_PARAM_ARP_DSTADDR,
};
struct wmi_pdev_set_param_cmd {
__le32 param_id;
__le32 param_value;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment