Search Linux Wireless

Re: [PATCH] cfg80211/mac80211: report signal strength for mgmt frames

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Mar 02, 2012 at 01:40:35PM +0100, Johannes Berg wrote:
> From: Johannes Berg <johannes.berg@xxxxxxxxx>
> 
> Add the signal strength (in dBm only for now) to
> frames that are received via nl80211's various
> frame APIs.
> 
> Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
> ---
>  include/linux/nl80211.h |    6 ++++++
>  include/net/cfg80211.h  |    8 +++++---
>  net/mac80211/rx.c       |   13 +++++++++++--
>  net/wireless/mlme.c     |    7 ++++---
>  net/wireless/nl80211.c  |    9 +++++++--
>  net/wireless/nl80211.h  |    3 ++-
>  6 files changed, 35 insertions(+), 11 deletions(-)

  CC      drivers/net/wireless/ath/ath6kl/wmi.o
drivers/net/wireless/ath/ath6kl/wmi.c: In function ‘ath6kl_wmi_rx_probe_req_event_rx’:
drivers/net/wireless/ath/ath6kl/wmi.c:559:3: warning: passing argument 3 of ‘cfg80211_rx_mgmt’ makes integer from pointer without a cast
include/net/cfg80211.h:3205:6: note: expected ‘int’ but argument is of type ‘u8 *’
drivers/net/wireless/ath/ath6kl/wmi.c:559:3: warning: passing argument 4 of ‘cfg80211_rx_mgmt’ makes pointer from integer without a cast
include/net/cfg80211.h:3205:6: note: expected ‘const u8 *’ but argument is of type ‘u16’
drivers/net/wireless/ath/ath6kl/wmi.c:559:3: error: too few arguments to function ‘cfg80211_rx_mgmt’
include/net/cfg80211.h:3205:6: note: declared here
drivers/net/wireless/ath/ath6kl/wmi.c: In function ‘ath6kl_wmi_rx_action_event_rx’:
drivers/net/wireless/ath/ath6kl/wmi.c:598:2: warning: passing argument 3 of ‘cfg80211_rx_mgmt’ makes integer from pointer without a cast
include/net/cfg80211.h:3205:6: note: expected ‘int’ but argument is of type ‘u8 *’
drivers/net/wireless/ath/ath6kl/wmi.c:598:2: warning: passing argument 4 of ‘cfg80211_rx_mgmt’ makes pointer from integer without a cast
include/net/cfg80211.h:3205:6: note: expected ‘const u8 *’ but argument is of type ‘u16’
drivers/net/wireless/ath/ath6kl/wmi.c:598:2: error: too few arguments to function ‘cfg80211_rx_mgmt’
include/net/cfg80211.h:3205:6: note: declared here
make[3]: *** [drivers/net/wireless/ath/ath6kl/wmi.o] Error 1

-- 
John W. Linville		Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux