[Click] [click]Which modifications do click-1.8.0 and compat-wireless-2011-03-16 need to do in order to support 11n mode
欧阳鑫
yuanmmsip at gmail.com
Thu Mar 17 08:08:15 EDT 2011
Hi, everyone.
We are running roofnet experiments on 2 Ubuntu hosts with 2.6.32-26
kernel. Both are AR5416 cards with ath9k driver, and I have updated ath9k
driver to compat-wireless-2011-03-16. All cards run in Monitor mode. The
roofnet can run on mode b and mode g. But now I want to run on mode n, I
have read ath9k driver source files and found that there are some
definations about RADIOTAP MCS in include/net/mac80211/ieee80211_radiotap.h.
As follows:
/* For IEEE80211_RADIOTAP_MCS */
#define IEEE80211_RADIOTAP_MCS_HAVE_BW 0x01
#define IEEE80211_RADIOTAP_MCS_HAVE_MCS 0x02
#define IEEE80211_RADIOTAP_MCS_HAVE_GI 0x04
#define IEEE80211_RADIOTAP_MCS_HAVE_FMT 0x08
#define IEEE80211_RADIOTAP_MCS_HAVE_FEC 0x10
#define IEEE80211_RADIOTAP_MCS_BW_MASK 0x03
#define IEEE80211_RADIOTAP_MCS_BW_20 0
#define IEEE80211_RADIOTAP_MCS_BW_40 1
#define IEEE80211_RADIOTAP_MCS_BW_20L 2
#define IEEE80211_RADIOTAP_MCS_BW_20U 3
#define IEEE80211_RADIOTAP_MCS_SGI 0x04
#define IEEE80211_RADIOTAP_MCS_FMT_GF 0x08
#define IEEE80211_RADIOTAP_MCS_FEC_LDPC 0x10
But there is only one source file net/mac80211/rx.c using these MCS
definations. And net/mac80211/tx.c does not use these MCS definations.
My question are:
If I want to run roofnet on 80211n mode with
compat-wireless-2011-03-16, I do not know whether I need to modify some
source files of compat-wireless-2011-03-16.
And if I do need to modify some source files, which source files do I
need to modify and how to modify in order to support 11n mode?
Which modifications should source files of click-1.8.0 do to support
11n mode?
These problems have troubled me for a long time. And I have do some
modifications about some source files of ath9k driver and click-1.8.0, but
it could not support 11n mode however. So I urgently need your help. Thank
you very much.
Yours
Ouyang
More information about the click
mailing list