X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=carlfw%2Finclude%2Fconfig.h;h=bebb26005e1c93872baf31e9780a733f6a841893;hb=20dfcb150963d10fcd0604b740da1fa3dfee6ef9;hp=f9f093e564968ec4065e5e5a48743502ed7b86dc;hpb=e03f20f46f3019d604d91cde16d833c4f1937a58;p=carl9170fw.git diff --git a/carlfw/include/config.h b/carlfw/include/config.h index f9f093e..bebb260 100644 --- a/carlfw/include/config.h +++ b/carlfw/include/config.h @@ -24,8 +24,6 @@ #ifndef __CARL9170FW_CONFIG_H #define __CARL9170FW_CONFIG_H -#define __CARL9170FW__ - #define GCC_VERSION (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) #if GCC_VERSION < 40400 @@ -54,6 +52,8 @@ #define CARL9170_INTF_NUM (1) #endif /* CONFIG_CARL9170FW_VIFS_NUM */ +#define CONFIG_CARL9170FW_BACK_REQS_NUM 4 + #if ((defined CONFIG_CARL9170FW_DEBUG) || \ (defined CONFIG_CARL9170FW_LOOPBACK)) #define CARL9170FW_UNUSABLE y @@ -64,10 +64,6 @@ static inline void __config_check(void) BUILD_BUG_ON(!CARL9170_TX_STATUS_NUM); BUILD_BUG_ON(CARL9170_INTF_NUM < 1); BUILD_BUG_ON(CARL9170_INTF_NUM >= AR9170_MAX_VIRTUAL_MAC); - -#ifdef CONFIG_CARL9170FW_HANDLE_BACK_REQ - BUILD_BUG_ON(!CONFIG_CARL9170FW_BACK_REQS_NUM); -#endif /* CONFIG_CARL9170FW_HANDLE_BACK_REQ */ } #endif /* __CARL9170FW_CONFIG_H */