Skip to content
Snippets Groups Projects
Commit 3bfe3fed authored by Anjan Chanda's avatar Anjan Chanda
Browse files

steer: rcpi: set SKIP_OFFCHANNEL_BEACON_REQUEST to skip off-channel requests

parent 5560b1bc
Branches
No related tags found
No related merge requests found
Pipeline #200043 passed
......@@ -67,6 +67,9 @@ enum {
#define USTA_RESPONSE_TIMEOUT 5 /* in seconds */
#define BEACON_RESPONSE_TIMEOUT 10 /* in seconds */
//#define SKIP_OFFCHANNEL_BEACON_REQUEST 1
enum rcpi_trigger_type {
RCPI_TRIGGER_NONE = 0,
RCPI_TRIGGER_LOW = -1,
......@@ -625,9 +628,11 @@ int rcpi_query_beacon_metrics(struct rcpi_steer_control *sc, struct rcpi_steer_s
cntlr_dbg(LOG_STEER, "%s: Nbr-AP " MACFMT ", opclass = %d, channel = %d\n",
__func__, MAC2STR(nbr->bssid), nbr->opclass, nbr->channel);
/* skip off-channel request now */
#ifdef SKIP_OFFCHANNEL_BEACON_REQUEST
/* skip off-channel request */
if (s->bss.channel != nbr->channel)
continue;
#endif
blob_buf_init(&bi, 0);
blob_buf_init(&bo, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment