Commit 21e3174
wifi: ath12k: fix endianness handling while accessing wmi service bit
[ Upstream commit 8f1a078 ]
Currently there is no endian conversion in ath12k_wmi_tlv_services_parser()
so the service bit parsing will be incorrect on a big endian platform and
to fix this by using appropriate endian conversion.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00217-QCAHKSWPL_SILICONZ-1
Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
Fixes: 342527f ("wifi: ath12k: Add support to parse new WMI event for 6 GHz regulatory")
Signed-off-by: Tamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250717173539.2523396-2-tamizh.raja@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent dde1520 commit 21e3174
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6303 | 6303 | | |
6304 | 6304 | | |
6305 | 6305 | | |
6306 | | - | |
| 6306 | + | |
6307 | 6307 | | |
6308 | 6308 | | |
6309 | 6309 | | |
| |||
6335 | 6335 | | |
6336 | 6336 | | |
6337 | 6337 | | |
6338 | | - | |
| 6338 | + | |
6339 | 6339 | | |
6340 | 6340 | | |
6341 | 6341 | | |
6342 | 6342 | | |
6343 | | - | |
| 6343 | + | |
6344 | 6344 | | |
6345 | 6345 | | |
6346 | 6346 | | |
6347 | 6347 | | |
6348 | 6348 | | |
6349 | 6349 | | |
6350 | 6350 | | |
6351 | | - | |
6352 | | - | |
| 6351 | + | |
| 6352 | + | |
| 6353 | + | |
| 6354 | + | |
6353 | 6355 | | |
6354 | 6356 | | |
6355 | 6357 | | |
| |||
0 commit comments