software/drivers/sd8887/src/wlan/mapp/mlanutl/mlanroamagent.c
/**
 *  @brief Set the Roaming agent configuration parameters to FW.
 *
 *  @param argc     number of arguments
 *  @param argv     A pointer to arguments array
 *
 *  @return         MLAN_STATUS_SUCCESS--success, otherwise--fail
 */
@brief Set the Roaming agent configuration parameters to FW.
@param argc     number of arguments
@param argv     A pointer to arguments array


@brief Set the Roaming agent configuration parameters to FW . @param argc number of arguments @param argv A pointer to arguments array
int
process_set_ra_config(int argc, char *argv[])
{
	sub_cmd_exec_t subCmds[] = {
		{"rssi", 2, 1, roamSetRssiStatsThreshold},
		{"prebcnmiss", 2, 1, roamSetPreBeaconLoss},
		{"failcnt", 2, 1, roamSetFailureCount},
		{"neighbor", 2, 0, printSetNeighborDeprecation},
		{"nparams", 2, 1, roamSetNborParams},
		{"maintain", 2, 1, roamSetNborMaintenance},
		{"scanperiod", 2, 1, roamSetScanPeriod},
		{"backoff", 2, 1, roamSetBackOff},
		{"enable", 2, 1, roamSetEnableControl},
		{"disable", 2, 1, roamSetDisableControl},
		{"suspend", 2, 1, roamSetSuspendControl},
		{"resume", 2, 1, roamSetResumeControl},
		{"metrics", 2, 1, roamSetMetrics},
		{"crossband", 2, 1, roamSetCrossband},
		{"event", 2, 1, roamSetEventBitmap}
	};
	return process_sub_cmd(subCmds, NELEMENTS(subCmds), argc, argv);
}
int process_set_ra_config ( int argc , char * argv [ ] ) { sub_cmd_exec_t subCmds [ ] = { { " " , 2 , 1 , roamSetRssiStatsThreshold } , { " " , 2 , 1 , roamSetPreBeaconLoss } , { " " , 2 , 1 , roamSetFailureCount } , { " " , 2 , 0 , printSetNeighborDeprecation } , { " " , 2 , 1 , roamSetNborParams } , { " " , 2 , 1 , roamSetNborMaintenance } , { " " , 2 , 1 , roamSetScanPeriod } , { " " , 2 , 1 , roamSetBackOff } , { " " , 2 , 1 , roamSetEnableControl } , { " " , 2 , 1 , roamSetDisableControl } , { " " , 2 , 1 , roamSetSuspendControl } , { " " , 2 , 1 , roamSetResumeControl } , { " " , 2 , 1 , roamSetMetrics } , { " " , 2 , 1 , roamSetCrossband } , { " " , 2 , 1 , roamSetEventBitmap } } ; return process_sub_cmd ( subCmds , NELEMENTS ( subCmds ) , argc , argv ) ; }
@brief Set the Roaming agent configuration parameters to FW.
@brief Set the Roaming agent configuration parameters to FW .