mac80211: add support for "active" monitor interfaces which allow userspace tools...
[15.05/openwrt.git] / package / network / utils / iw / patches / 130-monitor_active.patch
1 --- a/interface.c
2 +++ b/interface.c
3 @@ -16,7 +16,8 @@
4                         "fcsfail:  show frames with FCS errors\n"\
5                         "control:  show control frames\n"\
6                         "otherbss: show frames from other BSSes\n"\
7 -                       "cook:     use cooked mode"
8 +                       "cook:     use cooked mode\n"\
9 +                       "active:   use active mode (ACK incoming unicast packets)"
10  
11  SECTION(interface);
12  
13 @@ -27,6 +28,7 @@ static char *mntr_flags[NL80211_MNTR_FLA
14         "control",
15         "otherbss",
16         "cook",
17 +       "active",
18  };
19  
20  static int parse_mntr_flags(int *_argc, char ***_argv,