Dear all,
We are trying to implement a kernel module that calls some functions
defined in mac80211. For that we have seen that sta_info.c already has
some functions that are exported and declared in mac80211.h. For
example:
EXPORT_SYMBOL(ieee80211_sta_block_awake)
This function is declared in mac80211.h, so we include the full path
to this header in the C file of our module. However, compilation
crashes due to other header files included in mac80211.h.
Our understanding is that we should include in the Makefile of our
module the paths to the folders hosting relevant header files in
linux_backports. However, we are struggling to find what these folders
are, could anyone advise on what these folders should be? e.g. we
found backports_include but that one alone is not enough.
Thanks for your help.
Best Regards
Daniel