Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5be3bda8987b12a87863c89b74b136fdb1f072db
Commit:     5be3bda8987b12a87863c89b74b136fdb1f072db
Parent:     125c5cc2c8c1fab6a6a1d8a07f7073b240e6d325
Author:     Johannes Berg <[EMAIL PROTECTED]>
AuthorDate: Sat Nov 24 21:11:09 2007 +0100
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:05:03 2008 -0800

    b43legacy: include full 64-bit timestamp in monitor mode
    
    When monitor mode is enabled, this will make b43legacy read out
    the full 64-bit MAC time from the chip for each received packet.
    
    This patch has been ported from b43.
    
    Signed-off-by: Stefano Brivio <[EMAIL PROTECTED]>
    Cc: Johannes Berg <[EMAIL PROTECTED]>
    Signed-off-by: John W. Linville <[EMAIL PROTECTED]>
---
 drivers/net/wireless/b43legacy/b43legacy.h |    2 ++
 drivers/net/wireless/b43legacy/main.c      |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/b43legacy/b43legacy.h 
b/drivers/net/wireless/b43legacy/b43legacy.h
index fe2af06..d906f6e 100644
--- a/drivers/net/wireless/b43legacy/b43legacy.h
+++ b/drivers/net/wireless/b43legacy/b43legacy.h
@@ -599,6 +599,8 @@ struct b43legacy_wl {
        /* List of all wireless devices on this chip */
        struct list_head devlist;
        u8 nr_devs;
+
+       bool radiotap_enabled;
 };
 
 /* Pointers to the firmware data and meta information about it. */
diff --git a/drivers/net/wireless/b43legacy/main.c 
b/drivers/net/wireless/b43legacy/main.c
index 1a8b676..92c03b0 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -2553,6 +2553,8 @@ static int b43legacy_op_dev_config(struct ieee80211_hw 
*hw,
                        b43legacy_short_slot_timing_disable(dev);
        }
 
+       dev->wl->radiotap_enabled = !!(conf->flags & IEEE80211_CONF_RADIOTAP);
+
        /* Adjust the desired TX power level. */
        if (conf->power_level != 0) {
                if (conf->power_level != phy->power_level) {
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to