qcacld-3.0: Replace typedef hdd_priv_data_t
The Linux Coding Style enumerates a few special cases where typedefs
are useful, but stresses "NEVER EVER use a typedef unless you can
clearly match one of those rules." The hdd_priv_data_t typedef does
not meet any of those criteria, so replace it with a well named
struct.
Change-Id: I1f31b7d8035e7025abd23cede7b2e8830a8db5d2
CRs-Fixed: 2094518
diff --git a/core/hdd/inc/wlan_hdd_main.h b/core/hdd/inc/wlan_hdd_main.h
index a2ba7d8..caca6e4 100644
--- a/core/hdd/inc/wlan_hdd_main.h
+++ b/core/hdd/inc/wlan_hdd_main.h
@@ -1277,11 +1277,17 @@
hdd_adapter_t *pAdapter;
} hdd_adapter_list_node_t;
-typedef struct hdd_priv_data_s {
+/*
+ * struct hdd_priv_data - driver ioctl private data payload
+ * @buf: pointer to command buffer (may be in userspace)
+ * @used_len: length of the command/data currently in @buf
+ * @total_len: total length of the @buf memory allocation
+ */
+struct hdd_priv_data {
uint8_t *buf;
int used_len;
int total_len;
-} hdd_priv_data_t;
+};
#define MAX_MOD_LOGLEVEL 10
typedef struct {
diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c
index 49c586c..87b278c 100644
--- a/core/hdd/src/wlan_hdd_ioctl.c
+++ b/core/hdd/src/wlan_hdd_ioctl.c
@@ -116,7 +116,7 @@
hdd_context_t *hdd_ctx,
uint8_t *cmd,
uint8_t cmd_name_len,
- hdd_priv_data_t *priv_data);
+ struct hdd_priv_data *priv_data);
struct hdd_drv_cmd {
const char *cmd;
@@ -2770,7 +2770,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
@@ -2810,7 +2810,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_set_p2p_noa(adapter->dev, command);
}
@@ -2832,7 +2832,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_set_p2p_opps(adapter->dev, command);
}
@@ -2841,7 +2841,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int err;
uint8_t band;
@@ -2863,7 +2863,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_wmmps_helper(adapter, command);
}
@@ -2872,7 +2872,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_reg_set_country(hdd_ctx, command + command_len + 1);
}
@@ -2881,7 +2881,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -2942,7 +2942,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t lookUpThreshold =
@@ -2969,7 +2969,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3027,7 +3027,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t nEmptyScanRefreshPeriod =
@@ -3056,7 +3056,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3114,7 +3114,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t value =
@@ -3139,7 +3139,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3221,7 +3221,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
bool roamMode = sme_get_is_lfr_feature_enabled(hdd_ctx->hHal);
@@ -3250,7 +3250,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3299,7 +3299,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t roamRssiDiff =
@@ -3327,7 +3327,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
int band = -1;
@@ -3355,7 +3355,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_parse_set_roam_scan_channels(adapter, command);
}
@@ -3364,7 +3364,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t ChannelList[WNI_CFG_VALID_CHANNEL_LIST_LEN] = { 0 };
@@ -3412,7 +3412,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
bool eseMode = sme_get_is_ese_feature_enabled(hdd_ctx->hHal);
@@ -3450,7 +3450,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
struct pmkid_mode_bits pmkid_modes;
@@ -3488,7 +3488,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
bool lfrMode = sme_get_is_lfr_feature_enabled(hdd_ctx->hHal);
@@ -3511,7 +3511,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
bool ft = sme_get_is_ft_feature_enabled(hdd_ctx->hHal);
@@ -3534,7 +3534,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3586,7 +3586,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_parse_sendactionframe(adapter, command,
priv_data->total_len);
@@ -3596,7 +3596,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t val = sme_get_neighbor_scan_min_chan_time(hdd_ctx->hHal,
@@ -3625,7 +3625,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3674,7 +3674,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t val = sme_get_neighbor_scan_max_chan_time(hdd_ctx->hHal,
@@ -3699,7 +3699,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3747,7 +3747,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t val = sme_get_neighbor_scan_period(hdd_ctx->hHal,
@@ -3773,7 +3773,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3819,7 +3819,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t val = sme_get_roam_intra_band(hdd_ctx->hHal);
@@ -3842,7 +3842,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3890,7 +3890,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t val = sme_get_roam_scan_n_probes(hdd_ctx->hHal);
@@ -3911,7 +3911,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -3966,7 +3966,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint16_t val = sme_get_roam_scan_home_away_time(hdd_ctx->hHal);
@@ -3988,7 +3988,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_parse_reassoc(adapter, command);
}
@@ -3997,7 +3997,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4044,7 +4044,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
bool wesMode = sme_get_wes_mode(hdd_ctx->hHal);
@@ -4065,7 +4065,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4102,7 +4102,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
int8_t val = sme_get_roam_opportunistic_scan_threshold_diff(
@@ -4124,7 +4124,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4160,7 +4160,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t val = sme_get_roam_rescan_rssi_diff(hdd_ctx->hHal);
@@ -4181,7 +4181,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4236,7 +4236,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4282,7 +4282,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4365,7 +4365,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4406,7 +4406,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4468,7 +4468,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
bool roamScanControl = sme_get_roam_scan_control(hdd_ctx->hHal);
@@ -4490,7 +4490,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
char *bcMode;
@@ -4516,7 +4516,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
hdd_ctx->ioctl_scan_mode = eSIR_ACTIVE_SCAN;
return 0;
@@ -4526,7 +4526,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
hdd_ctx->ioctl_scan_mode = eSIR_PASSIVE_SCAN;
return 0;
@@ -4536,7 +4536,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
struct hdd_config *pCfg =
@@ -4561,7 +4561,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_set_dwell_time(adapter, command);
}
@@ -4570,7 +4570,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
QDF_STATUS ret_status;
int ret = 0;
@@ -4678,7 +4678,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int i = 0;
int status;
@@ -4788,7 +4788,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4844,7 +4844,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -4897,7 +4897,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
int status = QDF_STATUS_SUCCESS;
@@ -5024,7 +5024,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5110,7 +5110,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5163,7 +5163,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
char *value;
@@ -5215,7 +5215,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5253,7 +5253,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5356,7 +5356,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5395,7 +5395,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5460,7 +5460,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5510,7 +5510,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5578,7 +5578,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5600,7 +5600,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
int status;
@@ -5657,7 +5657,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t *value = command;
@@ -5716,7 +5716,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
uint8_t dfsScanMode = sme_get_dfs_scan_mode(hdd_ctx->hHal);
@@ -5737,7 +5737,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
int value = wlan_hdd_get_link_status(adapter);
@@ -5759,7 +5759,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
uint8_t *value = command;
int set_value;
@@ -5782,7 +5782,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5802,7 +5802,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5836,7 +5836,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5872,7 +5872,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5908,7 +5908,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5950,7 +5950,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint8_t *value = command;
@@ -5975,7 +5975,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret = 0;
int8_t rssi = 0;
@@ -6000,7 +6000,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
int ret;
uint32_t link_speed = 0;
@@ -6180,7 +6180,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_driver_rxfilter_comand_handler(command, adapter, false);
}
@@ -6197,7 +6197,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
return hdd_driver_rxfilter_comand_handler(command, adapter, true);
}
@@ -6352,7 +6352,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
struct sir_antenna_mode_param params;
QDF_STATUS status;
@@ -6484,7 +6484,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
uint32_t antenna_mode = 0;
char extra[32];
@@ -6511,7 +6511,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
hdd_debug("%s: Ignoring driver command \"%s\"",
adapter->dev->name, command);
@@ -6525,7 +6525,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
MTRACE(qdf_trace(QDF_MODULE_ID_HDD,
TRACE_CODE_HDD_UNSUPPORTED_IOCTL,
@@ -6551,7 +6551,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
QDF_STATUS status;
uint8_t fcc_constraint;
@@ -6655,7 +6655,7 @@
hdd_context_t *hdd_ctx,
uint8_t *command,
uint8_t command_len,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
struct net_device *dev = adapter->dev;
int status;
@@ -6820,7 +6820,7 @@
*/
static int hdd_drv_cmd_process(hdd_adapter_t *adapter,
uint8_t *cmd,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
hdd_context_t *hdd_ctx;
int i;
@@ -6866,7 +6866,7 @@
* Return: 0 for success non-zero for failure
*/
static int hdd_driver_command(hdd_adapter_t *adapter,
- hdd_priv_data_t *priv_data)
+ struct hdd_priv_data *priv_data)
{
uint8_t *command = NULL;
int ret = 0;
@@ -6935,7 +6935,7 @@
int used_len;
int total_len;
} compat_priv_data;
- hdd_priv_data_t priv_data;
+ struct hdd_priv_data priv_data;
int ret = 0;
/*
@@ -6964,7 +6964,7 @@
static int hdd_driver_ioctl(hdd_adapter_t *adapter, struct ifreq *ifr)
{
- hdd_priv_data_t priv_data;
+ struct hdd_priv_data priv_data;
int ret = 0;
/*