Commit 6d0572f
wifi: ath12k: Add support for 4-address NULL frame handling
Currently, the firmware processes all NULL frames internally and
does not forward them to the host. As a result, the host never
receives 4-address NULL frames sent by a 4-address station.
These 4-address NULL frames are sent by the station to indicate
to the AP that it is operating in 4-address mode.
Enable WMI_RSRC_CFG_FLAGS2_WDS_NULL_FRAME_SUPPORT flag during WMI
initialization after verifying the WMI_SERVICE_WDS_NULL_FRAME_SUPPORT
service capability. This enables the firmware to forward all NULL frames
to the host. Add host-side handling to parse 4-address NULL frames and
forward them to mac80211 to support proper AP_VLAN interface creation.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1
Co-developed-by: Sarika Sharma <sarika.sharma@oss.qualcomm.com>
Signed-off-by: Sarika Sharma <sarika.sharma@oss.qualcomm.com>
Signed-off-by: Tamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com>
Reviewed-by: Rameshkumar Sundaram <rameshkumar.sundaram@oss.qualcomm.com>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20260525110942.2890212-5-tamizh.raja@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>1 parent 729cad3 commit 6d0572f
3 files changed
Lines changed: 50 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
227 | 226 | | |
228 | 227 | | |
229 | 228 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4194 | 4194 | | |
4195 | 4195 | | |
4196 | 4196 | | |
| 4197 | + | |
| 4198 | + | |
| 4199 | + | |
| 4200 | + | |
4197 | 4201 | | |
4198 | 4202 | | |
4199 | 4203 | | |
| |||
4403 | 4407 | | |
4404 | 4408 | | |
4405 | 4409 | | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
4406 | 4413 | | |
4407 | 4414 | | |
4408 | 4415 | | |
| |||
7224 | 7231 | | |
7225 | 7232 | | |
7226 | 7233 | | |
| 7234 | + | |
| 7235 | + | |
7227 | 7236 | | |
| 7237 | + | |
| 7238 | + | |
7228 | 7239 | | |
7229 | 7240 | | |
7230 | 7241 | | |
| |||
7299 | 7310 | | |
7300 | 7311 | | |
7301 | 7312 | | |
| 7313 | + | |
| 7314 | + | |
| 7315 | + | |
| 7316 | + | |
| 7317 | + | |
| 7318 | + | |
| 7319 | + | |
| 7320 | + | |
| 7321 | + | |
| 7322 | + | |
| 7323 | + | |
| 7324 | + | |
| 7325 | + | |
| 7326 | + | |
| 7327 | + | |
| 7328 | + | |
| 7329 | + | |
| 7330 | + | |
| 7331 | + | |
| 7332 | + | |
| 7333 | + | |
| 7334 | + | |
| 7335 | + | |
| 7336 | + | |
| 7337 | + | |
| 7338 | + | |
| 7339 | + | |
| 7340 | + | |
| 7341 | + | |
| 7342 | + | |
| 7343 | + | |
| 7344 | + | |
7302 | 7345 | | |
7303 | 7346 | | |
7304 | 7347 | | |
| |||
7322 | 7365 | | |
7323 | 7366 | | |
7324 | 7367 | | |
| 7368 | + | |
7325 | 7369 | | |
7326 | 7370 | | |
7327 | 7371 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2278 | 2278 | | |
2279 | 2279 | | |
2280 | 2280 | | |
| 2281 | + | |
2281 | 2282 | | |
2282 | 2283 | | |
2283 | 2284 | | |
| |||
2511 | 2512 | | |
2512 | 2513 | | |
2513 | 2514 | | |
| 2515 | + | |
2514 | 2516 | | |
2515 | 2517 | | |
2516 | 2518 | | |
| |||
2568 | 2570 | | |
2569 | 2571 | | |
2570 | 2572 | | |
| 2573 | + | |
2571 | 2574 | | |
2572 | 2575 | | |
2573 | 2576 | | |
| |||
0 commit comments