qcacmn: Set retry_limit_ext for MGMT frame send WMI command

Some p2p action frame needs big retry count than the default
max 15 retry count to get high tx successful ratio.
FW allocates 3 extra bits for retry count setup.
To use this field needs FW change in CR 3082533.
Set the extra 3 bits "retry_limit_ext" to "tx_param_dword0"
field for WMI MGMT send command. Existing 4 bits
"retry_limit" combines with this new 3 bits
"retry_limit_ext" to create a 7 bits retry count:
bit 0 - 3: retry_limit
bit 4 - 6: retry_limit_ext.
So Maximum 127 retries can be specified to a certain mgmt
frame.
To use this field needs FW change in CR 3082533.

Change-Id: I889933ea1750c03701ba8a60340f27e6c2594c1b
CRs-Fixed: 3082534
This commit is contained in:
Liangwei Dong
2021-11-23 11:29:38 +08:00
committad av Madan Koyyalamudi
förälder f204c33ff4
incheckning b6e8d7a2ce
2 ändrade filer med 8 tillägg och 1 borttagningar

Visa fil

@@ -1325,6 +1325,10 @@ struct seg_hdr_info {
* 0:disable 1:enable
* @en_beamforming: flag to enable tx beamforming
* 0:disable 1:enable
* @retry_limit_ext: 3 bits of extended retry limit.
* Combined with 4 bits "retry_limit"
* to create 7 bits hw retry count.
* Maximum 127 retries for specific frames.
*/
struct tx_send_params {
uint32_t pwr:8,
@@ -1337,7 +1341,8 @@ struct tx_send_params {
frame_type:1,
cfr_enable:1,
en_beamforming:1,
reserved:9;
retry_limit_ext:3,
reserved:6;
};
/**