[][MAC80211][app][Add bridge name config to atenl]
[Description]
Add bridge name config to atenl
Add dynamic default bridge name selection via detecting SDK
[Release-log]
N/A
Change-Id: I1611633a124ebb57499b8a286020c55c0d1c3080
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6604202
Build: srv_hbgsm110
diff --git a/feed/atenl/src/atenl.h b/feed/atenl/src/atenl.h
index 42d9455..75ee474 100644
--- a/feed/atenl/src/atenl.h
+++ b/feed/atenl/src/atenl.h
@@ -17,7 +17,8 @@
#include "util.h"
#include "debug.h"
-#define BRIDGE_NAME "br-lan"
+#define BRIDGE_NAME_OPENWRT "br-lan"
+#define BRIDGE_NAME_RDKB "brlan0"
#define ETH_P_RACFG 0x2880
#define RACFG_PKT_MAX_SIZE 1600
#define RACFG_HLEN 12
@@ -86,6 +87,7 @@
u8 cur_band;
u8 mac_addr[ETH_ALEN];
+ char *bridge_name;
bool unicast;
int sock_eth;