|
@@ -59,6 +59,14 @@ struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,
|
|
|
}
|
|
|
EXPORT_SYMBOL(ath_rxbuf_alloc);
|
|
|
|
|
|
+bool ath_is_mybeacon(struct ath_common *common, struct ieee80211_hdr *hdr)
|
|
|
+{
|
|
|
+ return ieee80211_is_beacon(hdr->frame_control) &&
|
|
|
+ !is_zero_ether_addr(common->curbssid) &&
|
|
|
+ ether_addr_equal_64bits(hdr->addr3, common->curbssid);
|
|
|
+}
|
|
|
+EXPORT_SYMBOL(ath_is_mybeacon);
|
|
|
+
|
|
|
void ath_printk(const char *level, const struct ath_common* common,
|
|
|
const char *fmt, ...)
|
|
|
{
|