DEV-7525: ath12k: 4addr configuration support - reworked#59
DEV-7525: ath12k: 4addr configuration support - reworked#59adrian-nicolau wants to merge 3 commits intotg-v6.12from
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR reverts forced 4-address mode configuration and implements proper 4addr support by forward-porting the ath11k solution. The change allows 4addr mode to be configured dynamically rather than being unconditionally enabled for all peers.
Key Changes:
- Removes forced 4addr mode for all peers and restores mesh-only automatic configuration
- Adds new callback
sta_set_4addrto handle dynamic 4addr configuration requests - Introduces deferred work queue handling for 4addr peer parameter configuration
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| drivers/net/wireless/ath/ath12k/mac.c | Adds sta_set_4addr callback and work queue handler; removes forced 4addr mode |
| drivers/net/wireless/ath/ath12k/core.h | Adds set_4addr_wk work structure to ath12k_sta |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
@shmuelhazan not much better than the original solution, still need to apply 4addr early on AP - line Without this condition, the link is not established (just associated then fails at WPA handshake). Upon association With this condition, Client AP |
This PR reverts #50, which always enabled 4addr mode. Instead it limits it to only
NL80211_IFTYPE_APtype. Then it forward-ports 34c67dc from ath11k to apply 4addr mode also on stations.JIRA: DEV-7525