software/drivers/sd8887/src/wlan/mapp/uaputl/uaputl.c
/**
 * @brief Checks if secondary channel can be set above given primary channel in 'a' band or not.
 *
 * @param channel   Channel number
 * @return          UAP_SUCCESS or UAP_FAILURE
 */
@brief Checks if secondary channel can be set above given primary channel in 'a' band or not.
@param channel   Channel number
@return          UAP_SUCCESS or UAP_FAILURE
@brief Checks if secondary channel can be set above given primary channel in ' a ' band or not . @param channel Channel number @return UAP_SUCCESS or UAP_FAILURE
int
is_valid_a_band_channel_above(int channel)
{
	int ret = UAP_SUCCESS;
	switch (channel) {
	case 36:
	case 44:
	case 52:
	case 60:
	case 100:
	case 108:
	case 116:
	case 124:
	case 132:
	case 140:
	case 149:
	case 157:
		break;
	default:
		ret = UAP_FAILURE;
		break;
	}
	return ret;
}
int is_valid_a_band_channel_above ( int channel ) { int ret = UAP_SUCCESS ; switch ( channel ) { case 36 : case 44 : case 52 : case 60 : case 100 : case 108 : case 116 : case 124 : case 132 : case 140 : case 149 : case 157 : break ; default : ret = UAP_FAILURE ; break ; } return ret ; }
@brief Checks if secondary channel can be set above given primary channel in 'a' band or not.
@brief Checks if secondary channel can be set above given primary channel in ' a ' band or not .