File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ enum reg_rule_flags {
81
81
* Point links */
82
82
RRF_NO_IR = 1 <<7 , /* do not initiate radiation */
83
83
__RRF_NO_IBSS = 1 <<8 , /* old no-IBSS rule, maps to no-ir */
84
+ RRF_AUTO_BW = 1 <<11 , /* Auto BW calculations */
84
85
};
85
86
86
87
#define RRF_NO_IR_ALL (RRF_NO_IR | __RRF_NO_IBSS)
Original file line number Diff line number Diff line change @@ -750,6 +750,8 @@ static void print_reg_rule(const struct ieee80211_reg_rule *rule)
750
750
printf (", PTMP-ONLY" );
751
751
if (rule -> flags & RRF_NO_IR_ALL )
752
752
printf (", NO-IR" );
753
+ if (rule -> flags & RRF_AUTO_BW )
754
+ printf (", AUTO-BW" );
753
755
754
756
printf ("\n" );
755
757
}
@@ -793,6 +795,8 @@ static uint32_t reglib_parse_rule_flag(char *flag_s)
793
795
return RRF_PTMP_ONLY ;
794
796
if (strncmp (flag_s , "NO-IR" , 5 ) == 0 )
795
797
return RRF_NO_IR ;
798
+ if (strncmp (flag_s , "AUTO-BW" , 7 ) == 0 )
799
+ return RRF_AUTO_BW ;
796
800
797
801
return 0 ;
798
802
}
You can’t perform that action at this time.
0 commit comments