qcacmn: Remove the unnecessary spaces from a commit
Change Ia0676c03cef9c7b010762326e535477beefe36ac added a few extra space. Remove them. Change-Id: I5780e3a377c0f4272d6b377015ec80449cfc4f5a CRs-Fixed: 3005569
This commit is contained in:

committed by
Madan Koyyalamudi

szülő
005cd559fa
commit
a6e6827a7a
@@ -509,7 +509,7 @@ QDF_STATUS reg_dmn_get_6g_opclasses_and_channels(struct wlan_objmgr_pdev *pdev,
|
||||
*num_opclasses = reg_dmn_get_num_6g_opclasses(pdev);
|
||||
opcls_lst_size = *num_opclasses * sizeof(uint8_t);
|
||||
chansize_lst_size = *num_opclasses * sizeof(uint8_t);
|
||||
arr_chan_lists_size = *num_opclasses * sizeof(uint8_t *);
|
||||
arr_chan_lists_size = *num_opclasses * sizeof(uint8_t *);
|
||||
|
||||
total_alloc_size = 0;
|
||||
total_alloc_size += opcls_lst_size
|
||||
@@ -531,9 +531,9 @@ QDF_STATUS reg_dmn_get_6g_opclasses_and_channels(struct wlan_objmgr_pdev *pdev,
|
||||
l_chansize_lst = p_temp_alloc;
|
||||
p_temp_alloc += chansize_lst_size;
|
||||
|
||||
arr_chan_lists = (uint8_t **)p_temp_alloc;
|
||||
arr_chan_lists = (uint8_t **)p_temp_alloc;
|
||||
|
||||
/* Fill arrays with opclasses and chanlist sizes */
|
||||
/* Fill arrays with opclasses and chanlist sizes */
|
||||
count = 0;
|
||||
while (op_class_tbl && op_class_tbl->op_class) {
|
||||
if (reg_is_6ghz_op_class(pdev, op_class_tbl->op_class)) {
|
||||
|
@@ -450,7 +450,7 @@ uint16_t reg_dmn_get_chanwidth_from_opclass_auto(uint8_t *country,
|
||||
* operating class table for 6Ghz band: number of operating classes, list of
|
||||
* opclasses, list channel sizes, list of channel lists.
|
||||
* @pdev: Pointer to pdev.
|
||||
* @num_opclasses: Pointer to number of operating classes. This is the number
|
||||
* @num_opclasses: Pointer to number of operating classes. This is the number
|
||||
* of elements in the list array arguments
|
||||
* @opclas_lst: Pointer to pointer to memory of list of opclasses
|
||||
* @chansize_lst: Pointer to pointer to memory of list of channel sizes
|
||||
|
@@ -4826,11 +4826,11 @@ reg_get_cur_6g_ap_pwr_type(struct wlan_objmgr_pdev *pdev,
|
||||
|
||||
#ifdef CONFIG_AFC_SUPPORT
|
||||
/**
|
||||
* reg_get_frange_list_len() - Calculate the length of the list of the
|
||||
* frequency ranges
|
||||
* Input: None
|
||||
* reg_get_frange_list_len() - Calculate the length of the list of the
|
||||
* frequency ranges
|
||||
* Input: None
|
||||
*
|
||||
* Return: Length of the frequency range list
|
||||
* Return: Length of the frequency range list
|
||||
*/
|
||||
static uint16_t reg_get_frange_list_len(void)
|
||||
{
|
||||
@@ -4933,7 +4933,7 @@ reg_fill_afc_freq_ranges(struct wlan_afc_frange_list *p_frange_lst)
|
||||
p_range_obj = &p_frange_lst->range_objs[0];
|
||||
|
||||
/* For now there is only one range */
|
||||
p_range_obj->lowfreq = DEFAULT_LOW_6GFREQ;
|
||||
p_range_obj->lowfreq = DEFAULT_LOW_6GFREQ;
|
||||
p_range_obj->highfreq = DEFAULT_HIGH_6GFREQ;
|
||||
}
|
||||
|
||||
@@ -4996,10 +4996,10 @@ reg_fill_afc_opclasses_arr(struct wlan_objmgr_pdev *pdev,
|
||||
p_opclass_obj = p_opclass_obj_arr;
|
||||
|
||||
for (i = 0; i < num_opclasses; i++) {
|
||||
p_opclass_obj = reg_fill_afc_opclass_obj(p_opclass_obj,
|
||||
opclass_lst[i],
|
||||
chansize_lst[i],
|
||||
channel_lists[i]);
|
||||
p_opclass_obj = reg_fill_afc_opclass_obj(p_opclass_obj,
|
||||
opclass_lst[i],
|
||||
chansize_lst[i],
|
||||
channel_lists[i]);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5154,8 +5154,8 @@ free_opcls_chan_mem:
|
||||
}
|
||||
|
||||
/**
|
||||
* reg_dmn_set_afc_req_id() - Set the request ID in the AFC partial request
|
||||
* object
|
||||
* reg_dmn_set_afc_req_id() - Set the request ID in the AFC partial request
|
||||
* object
|
||||
* @afc_req: pointer to AFC partial request
|
||||
* @req_id: AFC request ID
|
||||
*
|
||||
|
@@ -1235,8 +1235,8 @@ reg_get_cur_6g_ap_pwr_type(struct wlan_objmgr_pdev *pdev,
|
||||
|
||||
#ifdef CONFIG_AFC_SUPPORT
|
||||
/**
|
||||
* reg_afc_start() - Start the AFC request from regulatory. This finally
|
||||
* send the request to MLME(UMAC)
|
||||
* reg_afc_start() - Start the AFC request from regulatory. This finally
|
||||
* sends the request to registered callbacks
|
||||
* @pdev: Pointer to pdev
|
||||
* @req_id: The AFC request ID
|
||||
*
|
||||
@@ -1249,7 +1249,7 @@ QDF_STATUS reg_afc_start(struct wlan_objmgr_pdev *pdev, uint64_t req_id);
|
||||
* @pdev: Pointer to pdev
|
||||
* @afc_req: Address of AFC request pointer
|
||||
*
|
||||
* NOTE:- The memory for AFC request is allocated by the function must be
|
||||
* NOTE:- The memory for AFC request is allocated by the function must be
|
||||
* freed by the caller.
|
||||
* Return: QDF_STATUS
|
||||
*/
|
||||
@@ -1258,8 +1258,8 @@ reg_get_partial_afc_req_info(struct wlan_objmgr_pdev *pdev,
|
||||
struct wlan_afc_host_partial_request **afc_req);
|
||||
|
||||
/**
|
||||
* reg_print_partial_afc_req_info() - Print the AFC partial request
|
||||
* information
|
||||
* reg_print_partial_afc_req_info() - Print the AFC partial request
|
||||
* information
|
||||
* @pdev: Pointer to pdev
|
||||
* @afc_req: Pointer to AFC request
|
||||
*
|
||||
|
@@ -709,8 +709,8 @@ enum behav_limit {
|
||||
* @start_freq: starting frequency
|
||||
* @channels: channel set
|
||||
* @cfis: Set of center frequency indices. Center for 40/80/160/320MHz band
|
||||
* channel opclasses. For 20MHz the list is empty as it is already
|
||||
* available in @channels variable.
|
||||
* channel opclasses. For 20MHz the list is empty as it is already
|
||||
* available in @channels variable.
|
||||
*/
|
||||
struct reg_dmn_op_class_map_t {
|
||||
uint8_t op_class;
|
||||
|
@@ -327,7 +327,7 @@ QDF_STATUS ucfg_reg_unregister_afc_req_rx_callback(struct wlan_objmgr_pdev *pdev
|
||||
afc_req_rx_evt_handler cbf);
|
||||
|
||||
/**
|
||||
* ucfg_reg_get_partial_afc_req_info() - Get the the frequency ranges and
|
||||
* ucfg_reg_get_partial_afc_req_info() - Get the the frequency ranges and
|
||||
* opclass + channel ranges. This is partial because in the AFC request there
|
||||
* are a few more parameters: Longitude, Latitude a few other information
|
||||
* @pdev: Pointer to PDEV object.
|
||||
|
Reference in New Issue
Block a user