OSDN Git Service

ath10k: Implement sta_add_debugfs
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Mon, 12 Jan 2015 12:07:27 +0000 (14:07 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 13 Jan 2015 14:13:13 +0000 (16:13 +0200)
commitf5045988b937e4801e3185f9d95c34a7c050b681
tree47465a3ab7a3d3f6e934c851cc0e20e37bd18320
parent50abef85e7cc7576b37ba8dbe480f0537fe74d6d
ath10k: Implement sta_add_debugfs

Add per station debugfs files when a station is added to mac80211's
station list. This helps to group peer specific debugfs entries
altogether. Right now this callback adds support to test aggregation
procedures (addba/addba_resp/delba) manually.

To enable automatic aggregation in target,
echo 0 >/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/aggr_mode

For manual mode,
echo 1 >/sys/kernel/debug/ieee80211/phyX/netdev:wlanX/
stations/XX:XX:XX:XX:XX:XX/aggr_mode

Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/Makefile
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.h
drivers/net/wireless/ath/ath10k/debugfs_sta.c [new file with mode: 0644]
drivers/net/wireless/ath/ath10k/mac.c