Applying patches to compat-wireless

Hi All,

I'd like to make some changes to the ath9k driver to use a specific antenna as default for Tx and Rx. I was able to make a patch for this code change but I am not sure where to place it. This is not coming under the generic or platform category.

I tried placing the patch in the generic and platform folder but it doesn't seem to get applied when I build the target/linux code.

Is there a special way to patch the compact-wireless drivers?

Thanks in advance.

package/kernel/mac80211/patches/

See https://openwrt.org/docs/guide-developer/build-system/use-patches-with-buildsystem for reference.

Thanks slh. I thought applying patches to compact-wireless is different from the linux kernel but its not. The same procedures explained in the link did the trick.