#include <linux/types.h>
#include <linux/jhash.h>
+#include <asm/unaligned.h>
#include "ieee80211_i.h"
struct mesh_rmc {
struct rmc_entry bucket[RMC_BUCKETS];
- u8 idx_mask;
+ u32 idx_mask;
};
*/
#define MESH_CFG_CMP_LEN 17
-/*
- * Components offset within the mesh configuration IE
- */
-#define PP_OFFSET 1 /* Path Selection Protocol */
-#define PM_OFFSET 5 /* Path Selection Metric */
-#define CC_OFFSET 9 /* Congestion Control Mode */
-#define CP_OFFSET 13 /* Channel Precedence */
-#define CAPAB_OFFSET 17 /* Mesh Capabilities */
-
-
/* Default values, timeouts in ms */
#define MESH_TTL 5
#define MESH_MAX_RETR 3