Can something be done about ath11k's "REGULATORY WIPHY SELF MANAGED" flag?

Forgive my ignorance, I am treading well out of league here but...

My understanding is that ath11k has the REGULATORY_WIPHY_SELF_MANAGED flag set and thus ignores whatever hints are given regarding the regulatory domain one is in.

Eg: For example, for folks living in Panama.. Setting their country code to PA will not flip off the DFS bits for much of the 5.8g channels, like their country allows.

I recall with ath10k, openwrt includes a patch that forces ath10k to listen to the country code set by the user rather than what is set via firmware.

What are the chances of getting a similar patch into master for ath11k?

Yes I know I can roll my own and apply my own patches... I figured I would see what the general opinion on this subject is.

This limitation is part of the ath11k fiirmware. ath11k uses the embedded regulatory db from the board file.
Consequently this can not be fixed by a patch, but only with a new firmware that is supporting external regdb. The firmware can only provided by Qualcomm.

Ah. Understood.

Thank you for the clarification. I appreciate it.

there is an outstanding request from @robimarko for having an external regdb.bin ...

saying this there's is an ath11k patch released this year that deals with some of the aspects you raised @anom3 ... perhaps ...

https://lore.kernel.org/ath11k/0881ee1d0ae43ae18ab4b71ec8b5fd62263bbb69.camel@sipsolutions.net/T/

so it may happen some day ... the problem is that is the HW makers that certify the routers not the makers of the wifi devices are the ones that need to certify the devices ... qualcomm seems to get a ticket out of jail

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.