diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 5ecf3cc8d977..027d51f876ee 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -793,8 +793,18 @@ static inline void SET_IEEE80211_PERM_ADDR(struct ieee80211_hw *hw, u8 *addr) | |||
793 | * parameter to see whether multicast frames should be accepted | 793 | * parameter to see whether multicast frames should be accepted |
794 | * or dropped. | 794 | * or dropped. |
795 | * | 795 | * |
796 | * All unsupported flags in @total_flags must be cleared, i.e. you | 796 | * All unsupported flags in @total_flags must be cleared. |
797 | * should clear all bits except those you honoured. | 797 | * Hardware does not support a flag if it is incapable of _passing_ |
798 | * the frame to the stack. Otherwise the driver must ignore | ||
799 | * the flag, but not clear it. | ||
800 | * You must _only_ clear the flag (announce no support for the | ||
801 | * flag to mac80211) if you are not able to pass the packet type | ||
802 | * to the stack (so the hardware always filters it). | ||
803 | * So for example, you should clear @FIF_CONTROL, if your hardware | ||
804 | * always filters control frames. If your hardware always passes | ||
805 | * control frames to the kernel and is incapable of filtering them, | ||
806 | * you do _not_ clear the @FIF_CONTROL flag. | ||
807 | * This rule applies to all other FIF flags as well. | ||
798 | */ | 808 | */ |
799 | 809 | ||
800 | /** | 810 | /** |