mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
qcacmn: umac: Replace instances of unadorned %p
Replace instances of unadorned %p in umac. Change-Id: I7ae33c51405b31df24670dee3c98b6b4f1da9ab4 CRs-Fixed: 2111274
This commit is contained in:
parent
60246bcf4b
commit
878533e29b
29 changed files with 198 additions and 198 deletions
|
|
@ -278,7 +278,7 @@ QDF_STATUS wlan_crypto_setkey(struct wlan_objmgr_vdev *vdev,
|
|||
enum tQDF_ADAPTER_MODE vdev_mode;
|
||||
|
||||
if (!vdev || !req_key || req_key->keylen > (sizeof(req_key->keydata))) {
|
||||
qdf_print("%s[%d] Invalid params vdev%p, req_key%p\n",
|
||||
qdf_print("%s[%d] Invalid params vdev%pK, req_key%pK\n",
|
||||
__func__, __LINE__, vdev, req_key);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
|
@ -394,7 +394,7 @@ QDF_STATUS wlan_crypto_setkey(struct wlan_objmgr_vdev *vdev,
|
|||
if (!(peer && (QDF_STATUS_SUCCESS
|
||||
== wlan_objmgr_peer_try_get_ref(peer,
|
||||
WLAN_CRYPTO_ID)))) {
|
||||
qdf_print("%s[%d] peer %p failed\n",
|
||||
qdf_print("%s[%d] peer %pK failed\n",
|
||||
__func__, __LINE__, peer);
|
||||
if (IS_MGMT_CIPHER(req_key->type)) {
|
||||
crypto_priv->igtk_key = NULL;
|
||||
|
|
@ -660,7 +660,7 @@ QDF_STATUS wlan_crypto_delkey(struct wlan_objmgr_vdev *vdev,
|
|||
uint8_t bssid_mac[WLAN_ALEN];
|
||||
|
||||
if (!vdev || !macaddr || (key_idx >= WLAN_CRYPTO_MAXKEYIDX)) {
|
||||
qdf_print("%s[%d] Invalid params vdev %p, macaddr %p"
|
||||
qdf_print("%s[%d] Invalid params vdev %pK, macaddr %pK"
|
||||
"keyidx %d\n", __func__, __LINE__, vdev,
|
||||
macaddr, key_idx);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
|
@ -759,7 +759,7 @@ QDF_STATUS wlan_crypto_default_key(struct wlan_objmgr_vdev *vdev,
|
|||
wlan_vdev_obj_unlock(vdev);
|
||||
|
||||
if (!vdev || !macaddr || (key_idx >= WLAN_CRYPTO_MAXKEYIDX)) {
|
||||
qdf_print("%s[%d] Invalid params vdev %p, macaddr %p"
|
||||
qdf_print("%s[%d] Invalid params vdev %pK, macaddr %pK"
|
||||
"keyidx %d\n", __func__, __LINE__,
|
||||
vdev, macaddr, key_idx);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
|
|
@ -2445,7 +2445,7 @@ QDF_STATUS wlan_crypto_set_peer_wep_keys(struct wlan_objmgr_vdev *vdev,
|
|||
if (!(peer && (QDF_STATUS_SUCCESS
|
||||
== wlan_objmgr_peer_try_get_ref(peer,
|
||||
WLAN_CRYPTO_ID)))) {
|
||||
qdf_print("%s[%d] peer %p ref failed\n",
|
||||
qdf_print("%s[%d] peer %pK ref failed\n",
|
||||
__func__, __LINE__, peer);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ QDF_STATUS wlan_mgmt_txrx_desc_pool_init(
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
mgmt_txrx_info("mgmt_txrx ctx: %p psoc: %p, initialize mgmt desc pool of size %d",
|
||||
mgmt_txrx_info("mgmt_txrx ctx: %pK psoc: %pK, initialize mgmt desc pool of size %d",
|
||||
mgmt_txrx_ctx, mgmt_txrx_ctx->psoc, pool_size);
|
||||
mgmt_txrx_ctx->mgmt_desc_pool.pool = qdf_mem_malloc(pool_size *
|
||||
sizeof(struct mgmt_txrx_desc_elem_t));
|
||||
|
|
@ -105,7 +105,7 @@ struct mgmt_txrx_desc_elem_t *wlan_mgmt_txrx_desc_get(
|
|||
!= QDF_STATUS_SUCCESS) {
|
||||
qdf_spin_unlock_bh(
|
||||
&mgmt_txrx_ctx->mgmt_desc_pool.desc_pool_lock);
|
||||
mgmt_txrx_err("Descriptor freelist empty for mgmt_txrx_ctx %p",
|
||||
mgmt_txrx_err("Descriptor freelist empty for mgmt_txrx_ctx %pK",
|
||||
mgmt_txrx_ctx);
|
||||
return NULL;
|
||||
}
|
||||
|
|
@ -132,7 +132,7 @@ struct mgmt_txrx_desc_elem_t *wlan_mgmt_txrx_desc_get(
|
|||
|
||||
qdf_spin_unlock_bh(&mgmt_txrx_ctx->mgmt_desc_pool.desc_pool_lock);
|
||||
|
||||
mgmt_txrx_info("retrieved mgmt desc: %p with desc id: %d",
|
||||
mgmt_txrx_info("retrieved mgmt desc: %pK with desc id: %d",
|
||||
mgmt_txrx_desc, mgmt_txrx_desc->desc_id);
|
||||
return mgmt_txrx_desc;
|
||||
}
|
||||
|
|
@ -156,6 +156,6 @@ void wlan_mgmt_txrx_desc_put(struct mgmt_txrx_priv_context *mgmt_txrx_ctx,
|
|||
|
||||
qdf_spin_unlock_bh(&mgmt_txrx_ctx->mgmt_desc_pool.desc_pool_lock);
|
||||
|
||||
mgmt_txrx_info("put mgmt desc: %p with desc id: %d into freelist",
|
||||
mgmt_txrx_info("put mgmt desc: %pK with desc id: %d into freelist",
|
||||
desc, desc->desc_id);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -865,7 +865,7 @@ QDF_STATUS tgt_mgmt_txrx_rx_frame_handler(
|
|||
goto dec_peer_ref_cnt;
|
||||
}
|
||||
|
||||
mgmt_txrx_info("Rcvd mgmt frame, mgmt txrx frm type: %u, seq. no.: %u, peer: %p",
|
||||
mgmt_txrx_info("Rcvd mgmt frame, mgmt txrx frm type: %u, seq. no.: %u, peer: %pK",
|
||||
frm_type, *(uint16_t *)wh->i_seq, peer);
|
||||
|
||||
mgmt_txrx_ctx = (struct mgmt_txrx_priv_context *)
|
||||
|
|
@ -944,12 +944,12 @@ QDF_STATUS tgt_mgmt_txrx_tx_completion_handler(
|
|||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_MGMT_TXRX);
|
||||
if (!mgmt_txrx_ctx) {
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %p", psoc);
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %pK", psoc);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
mgmt_desc = &mgmt_txrx_ctx->mgmt_desc_pool.pool[desc_id];
|
||||
if (!mgmt_desc) {
|
||||
mgmt_txrx_err("Mgmt desc empty for id %d psoc %p ",
|
||||
mgmt_txrx_err("Mgmt desc empty for id %d psoc %pK ",
|
||||
desc_id, psoc);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -1011,12 +1011,12 @@ qdf_nbuf_t tgt_mgmt_txrx_get_nbuf_from_desc_id(
|
|||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_MGMT_TXRX);
|
||||
if (!mgmt_txrx_ctx) {
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %p", psoc);
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %pK", psoc);
|
||||
goto fail;
|
||||
}
|
||||
mgmt_desc = &mgmt_txrx_ctx->mgmt_desc_pool.pool[desc_id];
|
||||
if (!mgmt_desc) {
|
||||
mgmt_txrx_err("Mgmt descriptor unavailable for id %d psoc %p",
|
||||
mgmt_txrx_err("Mgmt descriptor unavailable for id %d psoc %pK",
|
||||
desc_id, psoc);
|
||||
goto fail;
|
||||
}
|
||||
|
|
@ -1040,13 +1040,13 @@ tgt_mgmt_txrx_get_peer_from_desc_id(
|
|||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_MGMT_TXRX);
|
||||
if (!mgmt_txrx_ctx) {
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %p", psoc);
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %pK", psoc);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
mgmt_desc = &mgmt_txrx_ctx->mgmt_desc_pool.pool[desc_id];
|
||||
if (!mgmt_desc) {
|
||||
mgmt_txrx_err("Mgmt descriptor unavailable for id %d psoc %p",
|
||||
mgmt_txrx_err("Mgmt descriptor unavailable for id %d psoc %pK",
|
||||
desc_id, psoc);
|
||||
goto fail;
|
||||
}
|
||||
|
|
@ -1070,13 +1070,13 @@ uint8_t tgt_mgmt_txrx_get_vdev_id_from_desc_id(
|
|||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_MGMT_TXRX);
|
||||
if (!mgmt_txrx_ctx) {
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %p", psoc);
|
||||
mgmt_txrx_err("Mgmt txrx context empty for psoc %pK", psoc);
|
||||
goto fail;
|
||||
}
|
||||
|
||||
mgmt_desc = &mgmt_txrx_ctx->mgmt_desc_pool.pool[desc_id];
|
||||
if (!mgmt_desc) {
|
||||
mgmt_txrx_err("Mgmt descriptor unavailable for id %d psoc %p",
|
||||
mgmt_txrx_err("Mgmt descriptor unavailable for id %d psoc %pK",
|
||||
desc_id, psoc);
|
||||
goto fail;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ static QDF_STATUS wlan_mgmt_txrx_psoc_obj_create_notification(
|
|||
goto err_psoc_attach;
|
||||
}
|
||||
|
||||
mgmt_txrx_info("Mgmt txrx creation successful, mgmt txrx ctx: %p, psoc: %p",
|
||||
mgmt_txrx_info("Mgmt txrx creation successful, mgmt txrx ctx: %pK, psoc: %pK",
|
||||
mgmt_txrx_ctx, psoc);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
@ -137,7 +137,7 @@ static QDF_STATUS wlan_mgmt_txrx_psoc_obj_destroy_notification(
|
|||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
mgmt_txrx_info("deleting mgmt txrx psoc obj, mgmt txrx ctx: %p, psoc: %p",
|
||||
mgmt_txrx_info("deleting mgmt txrx psoc obj, mgmt txrx ctx: %pK, psoc: %pK",
|
||||
mgmt_txrx_ctx, psoc);
|
||||
if (wlan_objmgr_psoc_component_obj_detach(psoc,
|
||||
WLAN_UMAC_COMP_MGMT_TXRX, mgmt_txrx_ctx)
|
||||
|
|
@ -152,7 +152,7 @@ static QDF_STATUS wlan_mgmt_txrx_psoc_obj_destroy_notification(
|
|||
qdf_wake_lock_destroy(&mgmt_txrx_ctx->wakelock_tx_cmp);
|
||||
qdf_mem_free(mgmt_txrx_ctx);
|
||||
|
||||
mgmt_txrx_info("mgmt txrx deletion successful, psoc: %p", psoc);
|
||||
mgmt_txrx_info("mgmt txrx deletion successful, psoc: %pK", psoc);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -232,14 +232,14 @@ QDF_STATUS wlan_mgmt_txrx_mgmt_frame_tx(struct wlan_objmgr_peer *peer,
|
|||
|
||||
vdev = wlan_peer_get_vdev(peer);
|
||||
if (!vdev) {
|
||||
mgmt_txrx_err("vdev unavailable for peer %p", peer);
|
||||
mgmt_txrx_err("vdev unavailable for peer %pK", peer);
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MGMT_SB_ID);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
psoc = wlan_vdev_get_psoc(vdev);
|
||||
if (!psoc) {
|
||||
mgmt_txrx_err("psoc unavailable for peer %p vdev %p",
|
||||
mgmt_txrx_err("psoc unavailable for peer %pK vdev %pK",
|
||||
peer, vdev);
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MGMT_SB_ID);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
|
|
@ -249,7 +249,7 @@ QDF_STATUS wlan_mgmt_txrx_mgmt_frame_tx(struct wlan_objmgr_peer *peer,
|
|||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_MGMT_TXRX);
|
||||
if (!txrx_ctx) {
|
||||
mgmt_txrx_err("No txrx context for peer %p psoc %p",
|
||||
mgmt_txrx_err("No txrx context for peer %pK psoc %pK",
|
||||
peer, psoc);
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MGMT_SB_ID);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
|
|
@ -269,7 +269,7 @@ QDF_STATUS wlan_mgmt_txrx_mgmt_frame_tx(struct wlan_objmgr_peer *peer,
|
|||
desc->context = context;
|
||||
|
||||
if (!psoc->soc_cb.tx_ops.mgmt_txrx_tx_ops.mgmt_tx_send) {
|
||||
mgmt_txrx_err("mgmt txrx tx op to send mgmt frame is NULL for psoc: %p",
|
||||
mgmt_txrx_err("mgmt txrx tx op to send mgmt frame is NULL for psoc: %pK",
|
||||
psoc);
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MGMT_SB_ID);
|
||||
desc->nbuf = NULL;
|
||||
|
|
@ -279,7 +279,7 @@ QDF_STATUS wlan_mgmt_txrx_mgmt_frame_tx(struct wlan_objmgr_peer *peer,
|
|||
|
||||
if (psoc->soc_cb.tx_ops.mgmt_txrx_tx_ops.mgmt_tx_send(
|
||||
vdev, buf, desc->desc_id, mgmt_tx_params)) {
|
||||
mgmt_txrx_err("Mgmt send fail for peer %p psoc %p",
|
||||
mgmt_txrx_err("Mgmt send fail for peer %pK psoc %pK",
|
||||
peer, psoc);
|
||||
wlan_objmgr_peer_release_ref(peer, WLAN_MGMT_SB_ID);
|
||||
desc->nbuf = NULL;
|
||||
|
|
@ -298,24 +298,24 @@ QDF_STATUS wlan_mgmt_txrx_beacon_frame_tx(struct wlan_objmgr_peer *peer,
|
|||
|
||||
vdev = wlan_peer_get_vdev(peer);
|
||||
if (!vdev) {
|
||||
mgmt_txrx_err("vdev unavailable for peer %p", peer);
|
||||
mgmt_txrx_err("vdev unavailable for peer %pK", peer);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
psoc = wlan_vdev_get_psoc(vdev);
|
||||
if (!psoc) {
|
||||
mgmt_txrx_err("psoc unavailable for peer %p", peer);
|
||||
mgmt_txrx_err("psoc unavailable for peer %pK", peer);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
if (!psoc->soc_cb.tx_ops.mgmt_txrx_tx_ops.beacon_send) {
|
||||
mgmt_txrx_err("mgmt txrx tx op to send beacon frame is NULL for psoc: %p",
|
||||
mgmt_txrx_err("mgmt txrx tx op to send beacon frame is NULL for psoc: %pK",
|
||||
psoc);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (psoc->soc_cb.tx_ops.mgmt_txrx_tx_ops.beacon_send(vdev, buf)) {
|
||||
mgmt_txrx_err("Beacon send fail for peer %p psoc %p",
|
||||
mgmt_txrx_err("Beacon send fail for peer %pK psoc %pK",
|
||||
peer, psoc);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -413,7 +413,7 @@ wlan_serialization_dequeue_cmd(struct wlan_serialization_command *cmd,
|
|||
ser_pdev_obj);
|
||||
status = WLAN_SER_CMD_IN_ACTIVE_LIST;
|
||||
} else {
|
||||
serialization_err("cmd_type[%d], cmd_id[%d], vdev[%p]",
|
||||
serialization_err("cmd_type[%d], cmd_id[%d], vdev[%pK]",
|
||||
cmd->cmd_type, cmd->cmd_id, cmd->vdev);
|
||||
/*
|
||||
* if you come here means there is a possibility
|
||||
|
|
|
|||
|
|
@ -128,7 +128,7 @@ static void wlan_serialization_destroy_cmd_pool(
|
|||
qdf_list_remove_front(&ser_pdev_obj->global_cmd_pool_list,
|
||||
&node);
|
||||
cmd_list = (struct wlan_serialization_command_list *)node;
|
||||
serialization_info("Node being freed from global pool %p",
|
||||
serialization_info("Node being freed from global pool %pK",
|
||||
cmd_list);
|
||||
qdf_mem_free(cmd_list);
|
||||
|
||||
|
|
@ -168,7 +168,7 @@ wlan_serialization_create_cmd_pool(struct wlan_objmgr_pdev *pdev,
|
|||
qdf_list_insert_back(
|
||||
&ser_pdev_obj->global_cmd_pool_list,
|
||||
&cmd_list_ptr->node);
|
||||
serialization_info("Created node at %p and inserted to pool",
|
||||
serialization_info("Created node at %pK and inserted to pool",
|
||||
cmd_list_ptr);
|
||||
}
|
||||
|
||||
|
|
@ -334,7 +334,7 @@ static QDF_STATUS wlan_serialization_vdev_obj_destroy_notification(
|
|||
if (!ser_legacy_cb.serialization_purge_cmd_list)
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
||||
serialization_debug("for vdev_id[%d] vdev[%p] flush all cmds",
|
||||
serialization_debug("for vdev_id[%d] vdev[%pK] flush all cmds",
|
||||
vdev_id, vdev);
|
||||
ser_legacy_cb.serialization_purge_cmd_list(wlan_vdev_get_psoc(vdev),
|
||||
vdev, false, false, false, false, true);
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@ static void wlan_serialization_generic_timer_callback(void *arg)
|
|||
return;
|
||||
}
|
||||
|
||||
serialization_err("active cmd timeout for cmd_type[%d] vdev[%p]",
|
||||
serialization_err("active cmd timeout for cmd_type[%d] vdev[%pK]",
|
||||
cmd->cmd_type, cmd->vdev);
|
||||
if (cmd->cmd_cb)
|
||||
cmd->cmd_cb(cmd, WLAN_SER_CB_ACTIVE_CMD_TIMEOUT);
|
||||
|
|
|
|||
|
|
@ -356,7 +356,7 @@ static int dfs_check_chirping_sowl(struct wlan_dfs *dfs,
|
|||
/* DEBUG - Print relevant portions of the FFT data. */
|
||||
for (p = 0; p < num_fft_packets; p++) {
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS_BIN5_FFT,
|
||||
"fft_data_ptr=0x%p\t", fft_data_ptr);
|
||||
"fft_data_ptr=0x%pK\t", fft_data_ptr);
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS_BIN5_FFT,
|
||||
"[66]=%d [69]=%d\n",
|
||||
*(fft_data_ptr + FFT_LOWER_BIN_MAX_INDEX_BYTE) >> 2,
|
||||
|
|
|
|||
|
|
@ -58,13 +58,13 @@ void dfs_reset_alldelaylines(struct wlan_dfs *dfs)
|
|||
pl = dfs->pulses;
|
||||
|
||||
if (pl == NULL) {
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS, "%s: pl==NULL, dfs=%p\n",
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS, "%s: pl==NULL, dfs=%pK\n",
|
||||
__func__, dfs);
|
||||
return;
|
||||
}
|
||||
|
||||
if (dfs->dfs_b5radars == NULL) {
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS, "%s: pl==NULL, b5radars=%p\n",
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS, "%s: pl==NULL, b5radars=%pK\n",
|
||||
__func__, dfs->dfs_b5radars);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -674,7 +674,7 @@ int dfs_control(struct wlan_dfs *dfs,
|
|||
case DFS_SET_THRESH:
|
||||
if (insize < sizeof(struct dfs_ioctl_params) || !indata) {
|
||||
DFS_DPRINTK(dfs, WLAN_DEBUG_DFS1,
|
||||
"%s: insize = %d, expected = %zu bytes, indata = %p\n",
|
||||
"%s: insize = %d, expected = %zu bytes, indata = %pK\n",
|
||||
__func__, insize,
|
||||
sizeof(struct dfs_ioctl_params),
|
||||
indata);
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ static uint8_t dfs_get_rand_from_lst(uint8_t *ch_lst, uint8_t num_ch)
|
|||
uint32_t rand_byte = 0;
|
||||
|
||||
if (!num_ch || !ch_lst) {
|
||||
DFS_PRINTK("%s: invalid param ch_lst %p, num_ch = %d\n",
|
||||
DFS_PRINTK("%s: invalid param ch_lst %pK, num_ch = %d\n",
|
||||
__func__, ch_lst, num_ch);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -535,7 +535,7 @@ int dfs_prepare_random_channel(struct wlan_dfs *dfs,
|
|||
uint32_t random_chan_cnt = 0;
|
||||
|
||||
if (!ch_list || !ch_cnt) {
|
||||
DFS_PRINTK("%s: Invalid params %p, ch_cnt=%d\n",
|
||||
DFS_PRINTK("%s: Invalid params %pK, ch_cnt=%d\n",
|
||||
__func__, ch_list, ch_cnt);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -208,7 +208,7 @@ QDF_STATUS tgt_dfs_process_radar_ind(struct wlan_objmgr_pdev *pdev,
|
|||
|
||||
dfs = global_dfs_to_mlme.pdev_get_comp_private_obj(pdev);
|
||||
if (!dfs || !dfs->dfs_curchan) {
|
||||
DFS_PRINTK("%s: err, dfs=%p, dfs->dfs_curchan=%p\n",
|
||||
DFS_PRINTK("%s: err, dfs=%pK, dfs->dfs_curchan=%pK\n",
|
||||
__func__, dfs, dfs->dfs_curchan);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
|
@ -248,7 +248,7 @@ QDF_STATUS tgt_dfs_reg_ev_handler(struct wlan_objmgr_psoc *psoc,
|
|||
if (dfs_tx_ops && dfs_tx_ops->dfs_reg_ev_handler)
|
||||
status = dfs_tx_ops->dfs_reg_ev_handler(pdev, dfs_offload);
|
||||
else
|
||||
DFS_PRINTK("%s: err, dfs_tx_ops=%p\n", __func__, dfs_tx_ops);
|
||||
DFS_PRINTK("%s: err, dfs_tx_ops=%pK\n", __func__, dfs_tx_ops);
|
||||
|
||||
wlan_objmgr_pdev_release_ref(pdev, WLAN_DFS_ID);
|
||||
|
||||
|
|
|
|||
|
|
@ -564,7 +564,7 @@ void dfs_init_nol(struct wlan_objmgr_pdev *pdev)
|
|||
dfs = global_dfs_to_mlme.pdev_get_comp_private_obj(pdev);
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
if (!dfs || !psoc) {
|
||||
DFS_PRINTK("%s: dfs %p, psoc %p\n", __func__, dfs, psoc);
|
||||
DFS_PRINTK("%s: dfs %pK, psoc %pK\n", __func__, dfs, psoc);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ static QDF_STATUS p2p_psoc_obj_create_notification(
|
|||
return status;
|
||||
}
|
||||
|
||||
p2p_debug("p2p soc object create successful, %p", p2p_soc_obj);
|
||||
p2p_debug("p2p soc object create successful, %pK", p2p_soc_obj);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -165,7 +165,7 @@ static QDF_STATUS p2p_psoc_obj_destroy_notification(
|
|||
return status;
|
||||
}
|
||||
|
||||
p2p_debug("destroy p2p soc object, %p", p2p_soc_obj);
|
||||
p2p_debug("destroy p2p soc object, %pK", p2p_soc_obj);
|
||||
|
||||
qdf_mem_free(p2p_soc_obj);
|
||||
|
||||
|
|
@ -222,7 +222,7 @@ static QDF_STATUS p2p_vdev_obj_create_notification(
|
|||
return status;
|
||||
}
|
||||
|
||||
p2p_debug("p2p vdev object create successful, %p", p2p_vdev_obj);
|
||||
p2p_debug("p2p vdev object create successful, %pK", p2p_vdev_obj);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -272,7 +272,7 @@ static QDF_STATUS p2p_vdev_obj_destroy_notification(
|
|||
return status;
|
||||
}
|
||||
|
||||
p2p_debug("destroy p2p vdev object, p2p vdev obj:%p, noa info:%p",
|
||||
p2p_debug("destroy p2p vdev object, p2p vdev obj:%pK, noa info:%pK",
|
||||
p2p_vdev_obj, p2p_vdev_obj->noa_info);
|
||||
|
||||
if (p2p_vdev_obj->noa_info)
|
||||
|
|
@ -354,7 +354,7 @@ static QDF_STATUS p2p_peer_obj_destroy_notification(
|
|||
WLAN_UMAC_COMP_P2P);
|
||||
psoc = wlan_vdev_get_psoc(vdev);
|
||||
if (!p2p_vdev_obj || !psoc) {
|
||||
p2p_err("p2p_vdev_obj:%p psoc:%p", p2p_vdev_obj, psoc);
|
||||
p2p_err("p2p_vdev_obj:%pK psoc:%pK", p2p_vdev_obj, psoc);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
|
|
@ -473,13 +473,13 @@ static QDF_STATUS process_peer_for_noa(struct wlan_objmgr_vdev *vdev,
|
|||
uint8_t vdev_id;
|
||||
|
||||
if (!vdev || !psoc || !peer) {
|
||||
p2p_err("vdev:%p psoc:%p peer:%p", vdev, psoc, peer);
|
||||
p2p_err("vdev:%pK psoc:%pK peer:%pK", vdev, psoc, peer);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
p2p_vdev_obj = wlan_objmgr_vdev_get_comp_private_obj(vdev,
|
||||
WLAN_UMAC_COMP_P2P);
|
||||
if (!p2p_vdev_obj) {
|
||||
p2p_err("p2p_vdev_obj:%p", p2p_vdev_obj);
|
||||
p2p_err("p2p_vdev_obj:%pK", p2p_vdev_obj);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
mode = wlan_vdev_mlme_get_opmode(vdev);
|
||||
|
|
@ -948,7 +948,7 @@ QDF_STATUS p2p_process_noa(struct p2p_noa_event *noa_event)
|
|||
p2p_soc_obj = noa_event->p2p_soc_obj;
|
||||
psoc = p2p_soc_obj->soc;
|
||||
|
||||
p2p_debug("psoc:%p, index:%d, opps_ps:%d, ct_window:%d, num_desc:%d, vdev_id:%d",
|
||||
p2p_debug("psoc:%pK, index:%d, opps_ps:%d, ct_window:%d, num_desc:%d, vdev_id:%d",
|
||||
psoc, noa_info->index, noa_info->opps_ps,
|
||||
noa_info->ct_window, noa_info->num_desc,
|
||||
noa_info->vdev_id);
|
||||
|
|
@ -999,12 +999,12 @@ void p2p_peer_authorized(struct wlan_objmgr_vdev *vdev, uint8_t *mac_addr)
|
|||
struct wlan_objmgr_peer *peer;
|
||||
|
||||
if (!vdev) {
|
||||
p2p_err("vdev:%p", vdev);
|
||||
p2p_err("vdev:%pK", vdev);
|
||||
return;
|
||||
}
|
||||
psoc = wlan_vdev_get_psoc(vdev);
|
||||
if (!psoc) {
|
||||
p2p_err("psoc:%p", psoc);
|
||||
p2p_err("psoc:%pK", psoc);
|
||||
return;
|
||||
}
|
||||
peer = wlan_objmgr_get_peer(psoc, mac_addr, WLAN_P2P_ID);
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ static const uint8_t *p2p_get_presence_noa_attr(const uint8_t *pies, int length)
|
|||
uint8_t elem_id;
|
||||
uint16_t elem_len;
|
||||
|
||||
p2p_debug("pies:%p, length:%d", pies, length);
|
||||
p2p_debug("pies:%pK, length:%d", pies, length);
|
||||
|
||||
while (left >= 3) {
|
||||
elem_id = ptr[0];
|
||||
|
|
@ -221,7 +221,7 @@ static uint8_t p2p_get_noa_attr_stream_in_mult_p2p_ies(uint8_t *noa_stream,
|
|||
{
|
||||
uint8_t overflow_p2p_stream[P2P_MAX_NOA_ATTR_LEN];
|
||||
|
||||
p2p_debug("noa_stream:%p, noa_len:%d, overflow_len:%d",
|
||||
p2p_debug("noa_stream:%pK, noa_len:%d, overflow_len:%d",
|
||||
noa_stream, noa_len, overflow_len);
|
||||
if ((noa_len <= (P2P_MAX_NOA_ATTR_LEN + P2P_IE_HEADER_LEN)) &&
|
||||
(noa_len >= overflow_len) &&
|
||||
|
|
@ -424,7 +424,7 @@ static uint16_t p2p_update_noa_stream(struct tx_action_context *tx_ctx,
|
|||
*total_len = buf_len;
|
||||
nbytes_copy = (p2p_ie + orig_len + 2) - tx_ctx->buf;
|
||||
|
||||
p2p_debug("noa_len=%d orig_len=%d p2p_ie=%p buf_len=%d nbytes copy=%d ",
|
||||
p2p_debug("noa_len=%d orig_len=%d p2p_ie=%pK buf_len=%d nbytes copy=%d ",
|
||||
noa_len, orig_len, p2p_ie, buf_len, nbytes_copy);
|
||||
|
||||
return noa_len;
|
||||
|
|
@ -737,7 +737,7 @@ static QDF_STATUS p2p_send_tx_conf(struct tx_action_context *tx_ctx,
|
|||
tx_cnf.buf_len = tx_ctx->buf_len;
|
||||
tx_cnf.status = status ? 0 : 1;
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d, action_cookie:%llx, len:%d, status:%d, buf:%p",
|
||||
p2p_debug("soc:%pK, vdev_id:%d, action_cookie:%llx, len:%d, status:%d, buf:%pK",
|
||||
p2p_soc_obj->soc, tx_cnf.vdev_id,
|
||||
tx_cnf.action_cookie, tx_cnf.buf_len,
|
||||
tx_cnf.status, tx_cnf.buf);
|
||||
|
|
@ -850,7 +850,7 @@ static QDF_STATUS p2p_roc_req_for_tx_action(
|
|||
roc_ctx->roc_type = OFF_CHANNEL_TX;
|
||||
tx_ctx->roc_cookie = (uintptr_t)roc_ctx;
|
||||
|
||||
p2p_debug("create roc request for off channel tx, tx ctx:%p, roc ctx:%p",
|
||||
p2p_debug("create roc request for off channel tx, tx ctx:%pK, roc ctx:%pK",
|
||||
tx_ctx, roc_ctx);
|
||||
|
||||
status = p2p_process_roc_req(roc_ctx);
|
||||
|
|
@ -887,7 +887,7 @@ static struct tx_action_context *p2p_find_tx_ctx(
|
|||
*is_roc_q = false;
|
||||
*is_ack_q = false;
|
||||
|
||||
p2p_debug("Start to find tx ctx, p2p soc_obj:%p, cookie:%llx",
|
||||
p2p_debug("Start to find tx ctx, p2p soc_obj:%pK, cookie:%llx",
|
||||
p2p_soc_obj, cookie);
|
||||
|
||||
list_for_each_safe(pos, tmp, &p2p_soc_obj->tx_q_roc.anchor) {
|
||||
|
|
@ -933,7 +933,7 @@ static struct tx_action_context *p2p_find_tx_ctx_by_roc(
|
|||
*is_roc_q = false;
|
||||
*is_ack_q = false;
|
||||
|
||||
p2p_debug("Start to find tx ctx, p2p soc_obj:%p, cookie:%llx",
|
||||
p2p_debug("Start to find tx ctx, p2p soc_obj:%pK, cookie:%llx",
|
||||
p2p_soc_obj, cookie);
|
||||
|
||||
list_for_each_safe(pos, tmp, &p2p_soc_obj->tx_q_roc.anchor) {
|
||||
|
|
@ -976,7 +976,7 @@ static QDF_STATUS p2p_move_tx_context_to_ack_queue(
|
|||
struct tx_action_context *cur_tx_ctx;
|
||||
QDF_STATUS status;
|
||||
|
||||
p2p_debug("move tx context to wait for roc queue, %p", tx_ctx);
|
||||
p2p_debug("move tx context to wait for roc queue, %pK", tx_ctx);
|
||||
|
||||
cur_tx_ctx = p2p_find_tx_ctx(p2p_soc_obj, (uintptr_t)tx_ctx,
|
||||
&is_roc_q, &is_ack_q);
|
||||
|
|
@ -1104,7 +1104,7 @@ static QDF_STATUS p2p_remove_tx_context(
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj = tx_ctx->p2p_soc_obj;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
|
||||
p2p_debug("tx context:%p", tx_ctx);
|
||||
p2p_debug("tx context:%pK", tx_ctx);
|
||||
|
||||
cur_tx_ctx = p2p_find_tx_ctx(p2p_soc_obj, cookie, &is_roc_q,
|
||||
&is_ack_q);
|
||||
|
|
@ -1147,7 +1147,7 @@ static void p2p_tx_timeout(void *pdata)
|
|||
{
|
||||
struct tx_action_context *tx_ctx = pdata;
|
||||
|
||||
p2p_debug("pdata:%p", pdata);
|
||||
p2p_debug("pdata:%pK", pdata);
|
||||
|
||||
if (!tx_ctx) {
|
||||
p2p_err("invalid tx context");
|
||||
|
|
@ -1171,7 +1171,7 @@ static QDF_STATUS p2p_enable_tx_timer(struct tx_action_context *tx_ctx)
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
p2p_debug("tx context:%p", tx_ctx);
|
||||
p2p_debug("tx context:%pK", tx_ctx);
|
||||
|
||||
status = qdf_mc_timer_init(&tx_ctx->tx_timer,
|
||||
QDF_TIMER_TYPE_SW, p2p_tx_timeout,
|
||||
|
|
@ -1201,7 +1201,7 @@ static QDF_STATUS p2p_disable_tx_timer(struct tx_action_context *tx_ctx)
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
p2p_debug("tx context:%p", tx_ctx);
|
||||
p2p_debug("tx context:%pK", tx_ctx);
|
||||
|
||||
status = qdf_mc_timer_stop(&tx_ctx->tx_timer);
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
|
|
@ -1324,12 +1324,12 @@ void p2p_dump_tx_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
|||
struct tx_action_context *tx_ctx;
|
||||
qdf_list_node_t *tmp, *pos;
|
||||
|
||||
p2p_debug("dump tx queue wait for roc, p2p soc obj:%p, size:%d",
|
||||
p2p_debug("dump tx queue wait for roc, p2p soc obj:%pK, size:%d",
|
||||
p2p_soc_obj, qdf_list_size(&p2p_soc_obj->tx_q_roc));
|
||||
list_for_each_safe(pos, tmp, &p2p_soc_obj->tx_q_roc.anchor) {
|
||||
tx_ctx = list_entry(pos, struct tx_action_context,
|
||||
node);
|
||||
p2p_debug("p2p soc object:%p, tx ctx:%p, vdev_id:%d, scan_id:%d, roc_cookie:%llx, chan:%d, buf:%p, len:%d, off_chan:%d, cck:%d, ack:%d, duration:%d",
|
||||
p2p_debug("p2p soc object:%pK, tx ctx:%pK, vdev_id:%d, scan_id:%d, roc_cookie:%llx, chan:%d, buf:%pK, len:%d, off_chan:%d, cck:%d, ack:%d, duration:%d",
|
||||
p2p_soc_obj, tx_ctx,
|
||||
tx_ctx->vdev_id, tx_ctx->scan_id,
|
||||
tx_ctx->roc_cookie, tx_ctx->chan,
|
||||
|
|
@ -1343,7 +1343,7 @@ void p2p_dump_tx_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
|||
list_for_each_safe(pos, tmp, &p2p_soc_obj->tx_q_ack.anchor) {
|
||||
tx_ctx = list_entry(pos, struct tx_action_context,
|
||||
node);
|
||||
p2p_debug("p2p soc object:%p, tx_ctx:%p, vdev_id:%d, scan_id:%d, roc_cookie:%llx, chan:%d, buf:%p, len:%d, off_chan:%d, cck:%d, ack:%d, duration:%d",
|
||||
p2p_debug("p2p soc object:%pK, tx_ctx:%pK, vdev_id:%d, scan_id:%d, roc_cookie:%llx, chan:%d, buf:%pK, len:%d, off_chan:%d, cck:%d, ack:%d, duration:%d",
|
||||
p2p_soc_obj, tx_ctx,
|
||||
tx_ctx->vdev_id, tx_ctx->scan_id,
|
||||
tx_ctx->roc_cookie, tx_ctx->chan,
|
||||
|
|
@ -1363,7 +1363,7 @@ QDF_STATUS p2p_ready_to_tx_frame(struct p2p_soc_priv_obj *p2p_soc_obj,
|
|||
|
||||
cur_tx_ctx = p2p_find_tx_ctx_by_roc(p2p_soc_obj, cookie,
|
||||
&is_roc_q, &is_ack_q);
|
||||
p2p_debug("tx_ctx:%p, is_roc_q:%d, is_ack_q:%d", cur_tx_ctx,
|
||||
p2p_debug("tx_ctx:%pK, is_roc_q:%d, is_ack_q:%d", cur_tx_ctx,
|
||||
is_roc_q, is_ack_q);
|
||||
if (cur_tx_ctx) {
|
||||
if (is_roc_q) {
|
||||
|
|
@ -1445,7 +1445,7 @@ QDF_STATUS p2p_process_mgmt_tx(struct tx_action_context *tx_ctx)
|
|||
|
||||
p2p_soc_obj = tx_ctx->p2p_soc_obj;
|
||||
|
||||
p2p_debug("soc:%p, tx_ctx:%p, vdev_id:%d, scan_id:%d, roc_cookie:%llx, chan:%d, buf:%p, len:%d, off_chan:%d, cck:%d, ack:%d, duration:%d",
|
||||
p2p_debug("soc:%pK, tx_ctx:%pK, vdev_id:%d, scan_id:%d, roc_cookie:%llx, chan:%d, buf:%pK, len:%d, off_chan:%d, cck:%d, ack:%d, duration:%d",
|
||||
p2p_soc_obj->soc, tx_ctx, tx_ctx->vdev_id,
|
||||
tx_ctx->scan_id, tx_ctx->roc_cookie, tx_ctx->chan,
|
||||
tx_ctx->buf, tx_ctx->buf_len, tx_ctx->off_chan,
|
||||
|
|
@ -1568,7 +1568,7 @@ QDF_STATUS p2p_process_mgmt_tx_ack_cnf(
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d, action_cookie:%llx, len:%d, status:%d, buf:%p",
|
||||
p2p_debug("soc:%pK, vdev_id:%d, action_cookie:%llx, len:%d, status:%d, buf:%pK",
|
||||
p2p_soc_obj->soc, tx_cnf->vdev_id,
|
||||
tx_cnf->action_cookie, tx_cnf->buf_len,
|
||||
tx_cnf->status, tx_cnf->buf);
|
||||
|
|
@ -1606,7 +1606,7 @@ QDF_STATUS p2p_process_rx_mgmt(
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
p2p_debug("soc:%p, frame_len:%d, rx_chan:%d, vdev_id:%d, frm_type:%d, rx_rssi:%d, buf:%p",
|
||||
p2p_debug("soc:%pK, frame_len:%d, rx_chan:%d, vdev_id:%d, frm_type:%d, rx_rssi:%d, buf:%pK",
|
||||
p2p_soc_obj->soc, rx_mgmt->frame_len,
|
||||
rx_mgmt->rx_chan, rx_mgmt->vdev_id, rx_mgmt->frm_type,
|
||||
rx_mgmt->rx_rssi, rx_mgmt->buf);
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ static QDF_STATUS p2p_mgmt_rx_ops(struct wlan_objmgr_psoc *psoc,
|
|||
struct mgmt_txrx_mgmt_frame_cb_info frm_cb_info;
|
||||
QDF_STATUS status;
|
||||
|
||||
p2p_debug("psoc:%p, is register rx:%d", psoc, isregister);
|
||||
p2p_debug("psoc:%pK, is register rx:%d", psoc, isregister);
|
||||
|
||||
frm_cb_info.frm_type = MGMT_PROBE_REQ;
|
||||
frm_cb_info.mgmt_rx_cb = tgt_p2p_mgmt_frame_rx_cb;
|
||||
|
|
@ -184,7 +184,7 @@ static QDF_STATUS p2p_execute_cancel_roc_req(
|
|||
QDF_STATUS status;
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj = roc_ctx->p2p_soc_obj;
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -194,7 +194,7 @@ static QDF_STATUS p2p_execute_cancel_roc_req(
|
|||
qdf_event_reset(&p2p_soc_obj->cancel_roc_done);
|
||||
status = qdf_mc_timer_stop(&roc_ctx->roc_timer);
|
||||
if (status != QDF_STATUS_SUCCESS)
|
||||
p2p_err("Failed to stop roc timer, roc %p", roc_ctx);
|
||||
p2p_err("Failed to stop roc timer, roc %pK", roc_ctx);
|
||||
|
||||
status = p2p_scan_abort(roc_ctx);
|
||||
if (status != QDF_STATUS_SUCCESS) {
|
||||
|
|
@ -217,7 +217,7 @@ static void p2p_roc_timeout(void *pdata)
|
|||
struct p2p_roc_context *roc_ctx;
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
|
||||
p2p_debug("p2p soc obj:%p", pdata);
|
||||
p2p_debug("p2p soc obj:%pK", pdata);
|
||||
|
||||
p2p_soc_obj = pdata;
|
||||
if (!p2p_soc_obj) {
|
||||
|
|
@ -231,7 +231,7 @@ static void p2p_roc_timeout(void *pdata)
|
|||
return;
|
||||
}
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -277,7 +277,7 @@ static QDF_STATUS p2p_send_roc_event(
|
|||
p2p_evt.chan = roc_ctx->chan;
|
||||
p2p_evt.duration = roc_ctx->duration;
|
||||
|
||||
p2p_debug("p2p soc_obj:%p, roc_ctx:%p, vdev_id:%d, roc_event:"
|
||||
p2p_debug("p2p soc_obj:%pK, roc_ctx:%pK, vdev_id:%d, roc_event:"
|
||||
"%d, cookie:%llx, chan:%d, duration:%d", p2p_soc_obj,
|
||||
roc_ctx, p2p_evt.vdev_id, p2p_evt.roc_event,
|
||||
p2p_evt.cookie, p2p_evt.chan, p2p_evt.duration);
|
||||
|
|
@ -303,7 +303,7 @@ static QDF_STATUS p2p_destroy_roc_ctx(struct p2p_roc_context *roc_ctx,
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj = roc_ctx->p2p_soc_obj;
|
||||
|
||||
p2p_debug("p2p_soc_obj:%p, roc_ctx:%p, up_layer_event:%d, in_roc_queue:%d",
|
||||
p2p_debug("p2p_soc_obj:%pK, roc_ctx:%pK, up_layer_event:%d, in_roc_queue:%d",
|
||||
p2p_soc_obj, roc_ctx, up_layer_event, in_roc_queue);
|
||||
|
||||
if (up_layer_event) {
|
||||
|
|
@ -338,7 +338,7 @@ static QDF_STATUS p2p_execute_roc_req(struct p2p_roc_context *roc_ctx)
|
|||
uint32_t go_num;
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj = roc_ctx->p2p_soc_obj;
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -404,7 +404,7 @@ static struct p2p_roc_context *p2p_find_roc_ctx(
|
|||
struct p2p_roc_context *curr_roc_ctx;
|
||||
qdf_list_node_t *tmp, *pos;
|
||||
|
||||
p2p_debug("p2p soc obj:%p, cookie:%llx", p2p_soc_obj, cookie);
|
||||
p2p_debug("p2p soc obj:%pK, cookie:%llx", p2p_soc_obj, cookie);
|
||||
|
||||
list_for_each_safe(pos, tmp, &p2p_soc_obj->roc_q.anchor) {
|
||||
curr_roc_ctx = list_entry(pos, struct p2p_roc_context,
|
||||
|
|
@ -428,7 +428,7 @@ static QDF_STATUS p2p_process_scan_start_evt(
|
|||
struct p2p_roc_context *roc_ctx)
|
||||
{
|
||||
roc_ctx->roc_state = ROC_STATE_STARTED;
|
||||
p2p_debug("scan started, roc ctx:%p, scan id:%d",
|
||||
p2p_debug("scan started, roc ctx:%pK, scan id:%d",
|
||||
roc_ctx, roc_ctx->scan_id);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
|
|
@ -454,7 +454,7 @@ static QDF_STATUS p2p_process_ready_on_channel_evt(
|
|||
p2p_soc_obj = roc_ctx->p2p_soc_obj;
|
||||
roc_ctx->roc_state = ROC_STATE_ON_CHAN;
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -494,7 +494,7 @@ static QDF_STATUS p2p_process_scan_complete_evt(
|
|||
uint32_t size;
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj = roc_ctx->p2p_soc_obj;
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -548,7 +548,7 @@ QDF_STATUS p2p_mgmt_rx_action_ops(struct wlan_objmgr_psoc *psoc,
|
|||
struct mgmt_txrx_mgmt_frame_cb_info frm_cb_info[2];
|
||||
QDF_STATUS status;
|
||||
|
||||
p2p_debug("psoc:%p, is register rx:%d", psoc, isregister);
|
||||
p2p_debug("psoc:%pK, is register rx:%d", psoc, isregister);
|
||||
|
||||
frm_cb_info[0].frm_type = MGMT_ACTION_VENDOR_SPECIFIC;
|
||||
frm_cb_info[0].mgmt_rx_cb = tgt_p2p_mgmt_frame_rx_cb;
|
||||
|
|
@ -575,7 +575,7 @@ struct p2p_roc_context *p2p_find_current_roc_ctx(
|
|||
roc_ctx = list_entry(pos, struct p2p_roc_context,
|
||||
node);
|
||||
if (roc_ctx->roc_state != ROC_STATE_IDLE) {
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id"
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id"
|
||||
":%d, scan_id:%d, cookie:%llx, chan:"
|
||||
"%d, phy_mode:%d, duration:%d, "
|
||||
"roc_type:%d, roc_state:%d",
|
||||
|
|
@ -626,7 +626,7 @@ QDF_STATUS p2p_cleanup_roc_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
|||
roc_ctx = list_entry(pos, struct p2p_roc_context,
|
||||
node);
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx,
|
||||
roc_ctx->vdev_id, roc_ctx->scan_id,
|
||||
roc_ctx->cookie, roc_ctx->chan,
|
||||
|
|
@ -651,7 +651,7 @@ QDF_STATUS p2p_cleanup_roc_queue(struct p2p_soc_priv_obj *p2p_soc_obj)
|
|||
roc_ctx = list_entry(pos, struct p2p_roc_context,
|
||||
node);
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -685,7 +685,7 @@ QDF_STATUS p2p_cleanup_roc_by_vdev(
|
|||
roc_ctx = list_entry(pos, struct p2p_roc_context,
|
||||
node);
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx,
|
||||
roc_ctx->vdev_id, roc_ctx->scan_id,
|
||||
roc_ctx->cookie, roc_ctx->chan,
|
||||
|
|
@ -710,7 +710,7 @@ QDF_STATUS p2p_cleanup_roc_by_vdev(
|
|||
roc_ctx = list_entry(pos, struct p2p_roc_context,
|
||||
node);
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
roc_ctx->p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -741,7 +741,7 @@ QDF_STATUS p2p_process_roc_req(struct p2p_roc_context *roc_ctx)
|
|||
|
||||
p2p_soc_obj = roc_ctx->p2p_soc_obj;
|
||||
|
||||
p2p_debug("p2p soc obj:%p, roc ctx:%p, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_debug("p2p soc obj:%pK, roc ctx:%pK, vdev_id:%d, scan_id:%d, cookie:%llx, chan:%d, phy_mode:%d, duration:%d, roc_type:%d, roc_state:%d",
|
||||
p2p_soc_obj, roc_ctx, roc_ctx->vdev_id,
|
||||
roc_ctx->scan_id, roc_ctx->cookie, roc_ctx->chan,
|
||||
roc_ctx->phy_mode, roc_ctx->duration,
|
||||
|
|
@ -777,7 +777,7 @@ QDF_STATUS p2p_process_cancel_roc_req(
|
|||
curr_roc_ctx = p2p_find_roc_ctx(p2p_soc_obj,
|
||||
cancel_roc_ctx->cookie);
|
||||
|
||||
p2p_debug("p2p soc obj:%p, cookie:%llx, roc ctx:%p",
|
||||
p2p_debug("p2p soc obj:%pK, cookie:%llx, roc ctx:%pK",
|
||||
p2p_soc_obj, cancel_roc_ctx->cookie, curr_roc_ctx);
|
||||
|
||||
if (!curr_roc_ctx) {
|
||||
|
|
@ -811,7 +811,7 @@ void p2p_scan_event_cb(struct wlan_objmgr_vdev *vdev,
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
struct p2p_roc_context *curr_roc_ctx;
|
||||
|
||||
p2p_debug("soc:%p, scan event:%d", arg, event->type);
|
||||
p2p_debug("soc:%pK, scan event:%d", arg, event->type);
|
||||
|
||||
p2p_soc_obj = (struct p2p_soc_priv_obj *)arg;
|
||||
if (!p2p_soc_obj) {
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ void tgt_p2p_scan_event_cb(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_STATUS tgt_p2p_mgmt_download_comp_cb(void *context,
|
||||
qdf_nbuf_t buf, bool free)
|
||||
{
|
||||
p2p_debug("conext:%p, buf:%p, free:%d", context,
|
||||
p2p_debug("conext:%pK, buf:%pK, free:%d", context,
|
||||
qdf_nbuf_data(buf), free);
|
||||
|
||||
qdf_nbuf_free(buf);
|
||||
|
|
@ -129,7 +129,7 @@ QDF_STATUS tgt_p2p_mgmt_ota_comp_cb(void *context, qdf_nbuf_t buf,
|
|||
struct tx_action_context *tx_ctx;
|
||||
struct scheduler_msg msg = {0};
|
||||
|
||||
p2p_debug("context:%p, buf:%p, status:%d, tx complete params:%p",
|
||||
p2p_debug("context:%pK, buf:%pK, status:%d, tx complete params:%pK",
|
||||
context, buf, status, tx_compl_params);
|
||||
|
||||
if (!context) {
|
||||
|
|
@ -183,7 +183,7 @@ QDF_STATUS tgt_p2p_mgmt_frame_rx_cb(struct wlan_objmgr_psoc *psoc,
|
|||
uint32_t vdev_id;
|
||||
uint8_t *pdata;
|
||||
|
||||
p2p_debug("psoc:%p, peer:%p, type:%d", psoc, peer, frm_type);
|
||||
p2p_debug("psoc:%pK, peer:%pK, type:%d", psoc, peer, frm_type);
|
||||
|
||||
if (!mgmt_rx_params) {
|
||||
p2p_err("mgmt rx params is NULL");
|
||||
|
|
@ -256,7 +256,7 @@ QDF_STATUS tgt_p2p_noa_event_cb(struct wlan_objmgr_psoc *psoc,
|
|||
struct scheduler_msg msg = {0};
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
|
||||
p2p_debug("soc:%p, event_info:%p", psoc, event_info);
|
||||
p2p_debug("soc:%pK, event_info:%pK", psoc, event_info);
|
||||
|
||||
if (!psoc) {
|
||||
p2p_err("psoc context passed is NULL");
|
||||
|
|
@ -303,7 +303,7 @@ QDF_STATUS tgt_p2p_lo_event_cb(struct wlan_objmgr_psoc *psoc,
|
|||
struct scheduler_msg msg = {0};
|
||||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
|
||||
p2p_debug("soc:%p, event_info:%p", psoc, event_info);
|
||||
p2p_debug("soc:%pK, event_info:%pK", psoc, event_info);
|
||||
|
||||
if (!psoc) {
|
||||
p2p_err("psoc context passed is NULL");
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ static bool is_p2p_ps_allowed(struct wlan_objmgr_vdev *vdev,
|
|||
uint8_t is_p2pgo = 0;
|
||||
|
||||
if (!vdev) {
|
||||
p2p_err("vdev:%p", vdev);
|
||||
p2p_err("vdev:%pK", vdev);
|
||||
return true;
|
||||
}
|
||||
p2p_vdev_obj = wlan_objmgr_vdev_get_comp_private_obj(vdev,
|
||||
|
|
@ -62,7 +62,7 @@ static bool is_p2p_ps_allowed(struct wlan_objmgr_vdev *vdev,
|
|||
is_p2pgo = 1;
|
||||
|
||||
if (!p2p_vdev_obj || !is_p2pgo) {
|
||||
p2p_err("p2p_vdev_obj:%p is_p2pgo:%u",
|
||||
p2p_err("p2p_vdev_obj:%pK is_p2pgo:%u",
|
||||
p2p_vdev_obj, is_p2pgo);
|
||||
return false;
|
||||
}
|
||||
|
|
@ -115,7 +115,7 @@ QDF_STATUS ucfg_p2p_roc_req(struct wlan_objmgr_psoc *soc,
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
struct p2p_roc_context *roc_ctx;
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d, chan:%d, phy_mode:%d, duration:%d",
|
||||
p2p_debug("soc:%pK, vdev_id:%d, chan:%d, phy_mode:%d, duration:%d",
|
||||
soc, roc_req->vdev_id, roc_req->chan,
|
||||
roc_req->phy_mode, roc_req->duration);
|
||||
|
||||
|
|
@ -160,7 +160,7 @@ QDF_STATUS ucfg_p2p_roc_cancel_req(struct wlan_objmgr_psoc *soc,
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
struct cancel_roc_context *cancel_roc;
|
||||
|
||||
p2p_debug("soc:%p, cookie:0x%llx", soc, cookie);
|
||||
p2p_debug("soc:%pK, cookie:0x%llx", soc, cookie);
|
||||
|
||||
if (!soc) {
|
||||
p2p_err("psoc context passed is NULL");
|
||||
|
|
@ -196,7 +196,7 @@ QDF_STATUS ucfg_p2p_cleanup_roc(struct wlan_objmgr_vdev *vdev)
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
uint32_t vdev_id;
|
||||
|
||||
p2p_debug("vdev:%p", vdev);
|
||||
p2p_debug("vdev:%pK", vdev);
|
||||
|
||||
if (!vdev) {
|
||||
p2p_err("null vdev");
|
||||
|
|
@ -227,7 +227,7 @@ QDF_STATUS ucfg_p2p_mgmt_tx(struct wlan_objmgr_psoc *soc,
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
struct tx_action_context *tx_action;
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d, chan:%d, wait:%d, buf_len:%d, cck:%d, no ack:%d, off chan:%d",
|
||||
p2p_debug("soc:%pK, vdev_id:%d, chan:%d, wait:%d, buf_len:%d, cck:%d, no ack:%d, off chan:%d",
|
||||
soc, mgmt_frm->vdev_id, mgmt_frm->chan,
|
||||
mgmt_frm->wait, mgmt_frm->len, mgmt_frm->no_cck,
|
||||
mgmt_frm->dont_wait_for_ack, mgmt_frm->off_chan);
|
||||
|
|
@ -286,7 +286,7 @@ QDF_STATUS ucfg_p2p_mgmt_tx_cancel(struct wlan_objmgr_psoc *soc,
|
|||
struct p2p_soc_priv_obj *p2p_soc_obj;
|
||||
struct cancel_roc_context *cancel_tx;
|
||||
|
||||
p2p_debug("soc:%p, cookie:0x%llx", soc, cookie);
|
||||
p2p_debug("soc:%pK, cookie:0x%llx", soc, cookie);
|
||||
|
||||
if (!soc) {
|
||||
p2p_err("psoc context passed is NULL");
|
||||
|
|
@ -324,7 +324,7 @@ QDF_STATUS ucfg_p2p_set_ps(struct wlan_objmgr_psoc *soc,
|
|||
uint16_t obj_id;
|
||||
struct wlan_objmgr_vdev *vdev;
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d, opp_ps:%d, ct_window:%d, count:%d, duration:%d, duration:%d, ps_selection:%d",
|
||||
p2p_debug("soc:%pK, vdev_id:%d, opp_ps:%d, ct_window:%d, count:%d, duration:%d, duration:%d, ps_selection:%d",
|
||||
soc, ps_config->vdev_id, ps_config->opp_ps,
|
||||
ps_config->ct_window, ps_config->count,
|
||||
ps_config->duration, ps_config->single_noa_duration,
|
||||
|
|
@ -364,7 +364,7 @@ QDF_STATUS ucfg_p2p_lo_start(struct wlan_objmgr_psoc *soc,
|
|||
struct wlan_lmac_if_p2p_tx_ops *p2p_ops;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d, ctl_flags:%d, freq:%d, period:%d, interval:%d, count:%d, dev_types_len:%d, probe_resp_len:%d, device_types:%p, probe_resp_tmplt:%p",
|
||||
p2p_debug("soc:%pK, vdev_id:%d, ctl_flags:%d, freq:%d, period:%d, interval:%d, count:%d, dev_types_len:%d, probe_resp_len:%d, device_types:%pK, probe_resp_tmplt:%pK",
|
||||
soc, p2p_lo_start->vdev_id, p2p_lo_start->ctl_flags,
|
||||
p2p_lo_start->freq, p2p_lo_start->period,
|
||||
p2p_lo_start->interval, p2p_lo_start->count,
|
||||
|
|
@ -391,7 +391,7 @@ QDF_STATUS ucfg_p2p_lo_stop(struct wlan_objmgr_psoc *soc,
|
|||
struct wlan_lmac_if_p2p_tx_ops *p2p_ops;
|
||||
QDF_STATUS status = QDF_STATUS_E_FAILURE;
|
||||
|
||||
p2p_debug("soc:%p, vdev_id:%d", soc, vdev_id);
|
||||
p2p_debug("soc:%pK, vdev_id:%d", soc, vdev_id);
|
||||
|
||||
if (!soc) {
|
||||
p2p_err("psoc context passed is NULL");
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ scm_scan_free_scan_request_mem(struct scan_start_request *req)
|
|||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
scm_info("freed scan request: 0x%p, scan_id: %d, requester: %d",
|
||||
scm_info("freed scan request: 0x%pK, scan_id: %d, requester: %d",
|
||||
req, req->scan_req.scan_id, req->scan_req.scan_req_id);
|
||||
/* Free vendor(extra) ie */
|
||||
ie = req->scan_req.extraie.ptr;
|
||||
|
|
@ -122,14 +122,14 @@ static void scm_scan_post_event(struct wlan_objmgr_vdev *vdev,
|
|||
struct scan_event_listeners *listeners;
|
||||
|
||||
if (!vdev || !event) {
|
||||
scm_err("vdev: 0x%p, event: 0x%p", vdev, event);
|
||||
scm_err("vdev: 0x%pK, event: 0x%pK", vdev, event);
|
||||
return;
|
||||
}
|
||||
if (!event->requester) {
|
||||
scm_err("invalid requester id");
|
||||
QDF_ASSERT(0);
|
||||
}
|
||||
scm_info("vdev: 0x%p, event: 0x%p", vdev, event);
|
||||
scm_info("vdev: 0x%pK, event: 0x%pK", vdev, event);
|
||||
|
||||
scan = wlan_vdev_get_scan_obj(vdev);
|
||||
pdev_ev_handler = wlan_vdev_get_pdev_scan_ev_handlers(vdev);
|
||||
|
|
@ -167,7 +167,7 @@ static void scm_scan_post_event(struct wlan_objmgr_vdev *vdev,
|
|||
|
||||
/* notify all interested handlers */
|
||||
for (i = 0; i < listeners->count; i++) {
|
||||
scm_debug("func: 0x%p, arg: 0x%p",
|
||||
scm_debug("func: 0x%pK, arg: 0x%pK",
|
||||
listeners->cb[i].func, listeners->cb[i].arg);
|
||||
listeners->cb[i].func(vdev, event, listeners->cb[i].arg);
|
||||
}
|
||||
|
|
@ -287,7 +287,7 @@ scm_scan_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!cmd || !cmd->umac_cmd) {
|
||||
scm_err("cmd: %p, umac_cmd: %p, reason: %d",
|
||||
scm_err("cmd: %pK, umac_cmd: %pK, reason: %d",
|
||||
cmd, cmd->umac_cmd, reason);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -348,7 +348,7 @@ scm_scan_start_req(struct scheduler_msg *msg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
scm_err("msg: 0x%p, bodyptr: 0x%p", msg, msg->bodyptr);
|
||||
scm_err("msg: 0x%pK, bodyptr: 0x%pK", msg, msg->bodyptr);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -374,7 +374,7 @@ scm_scan_start_req(struct scheduler_msg *msg)
|
|||
scm_info("[SCAN-EMULATION]: Disabling Serialization Timer for Emulation\n");
|
||||
}
|
||||
|
||||
scm_info("req: 0x%p, reqid: %d, scanid: %d, vdevid: %d",
|
||||
scm_info("req: 0x%pK, reqid: %d, scanid: %d, vdevid: %d",
|
||||
req, req->scan_req.scan_req_id, req->scan_req.scan_id,
|
||||
req->scan_req.vdev_id);
|
||||
|
||||
|
|
@ -450,7 +450,7 @@ scm_scan_cancel_req(struct scheduler_msg *msg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
scm_err("msg: 0x%p, bodyptr: 0x%p", msg, msg->bodyptr);
|
||||
scm_err("msg: 0x%pK, bodyptr: 0x%pK", msg, msg->bodyptr);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -511,7 +511,7 @@ scm_pno_event_handler(struct wlan_objmgr_vdev *vdev,
|
|||
scan_vdev_obj = wlan_get_vdev_scan_obj(vdev);
|
||||
scan_psoc_obj = wlan_vdev_get_scan_obj(vdev);
|
||||
if (!scan_vdev_obj || !scan_psoc_obj) {
|
||||
scm_err("null scan_vdev_obj %p scan_obj %p",
|
||||
scm_err("null scan_vdev_obj %pK scan_obj %pK",
|
||||
scan_vdev_obj, scan_psoc_obj);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
|
@ -564,7 +564,7 @@ scm_scan_event_handler(struct scheduler_msg *msg)
|
|||
struct scan_event_info *event_info;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
scm_err("msg: %p, bodyptr: %p", msg, msg->bodyptr);
|
||||
scm_err("msg: %pK, bodyptr: %pK", msg, msg->bodyptr);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
event_info = msg->bodyptr;
|
||||
|
|
@ -605,7 +605,7 @@ QDF_STATUS scm_scan_event_flush_callback(struct scheduler_msg *msg)
|
|||
struct scan_event_info *event_info;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
scm_err("msg: %p, bodyptr: %p", msg, msg->bodyptr);
|
||||
scm_err("msg: %pK, bodyptr: %pK", msg, msg->bodyptr);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
event_info = msg->bodyptr;
|
||||
|
|
@ -644,7 +644,7 @@ QDF_STATUS scm_scan_start_flush_callback(struct scheduler_msg *msg)
|
|||
struct scan_start_request *req;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
scm_err("msg: 0x%p, bodyptr: 0x%p", msg, msg->bodyptr);
|
||||
scm_err("msg: 0x%pK, bodyptr: 0x%pK", msg, msg->bodyptr);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
req = msg->bodyptr;
|
||||
|
|
@ -659,7 +659,7 @@ QDF_STATUS scm_scan_cancel_flush_callback(struct scheduler_msg *msg)
|
|||
struct scan_cancel_request *req;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
scm_err("msg: 0x%p, bodyptr: 0x%p", msg, msg->bodyptr);
|
||||
scm_err("msg: 0x%pK, bodyptr: 0x%pK", msg, msg->bodyptr);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ tgt_scan_event_handler(struct wlan_objmgr_psoc *psoc,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!psoc || !event_info) {
|
||||
scm_err("psoc: 0x%p, event_info: 0x%p", psoc, event_info);
|
||||
scm_err("psoc: 0x%pK, event_info: 0x%pK", psoc, event_info);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
scm_info("vdev: %d, type: %d, reason: %d, freq: %d, req: %d, scanid: %d",
|
||||
|
|
@ -192,7 +192,7 @@ tgt_scan_event_handler(struct wlan_objmgr_psoc *psoc,
|
|||
wlan_objmgr_get_vdev_by_id_from_psoc(psoc,
|
||||
vdev_id, WLAN_SCAN_ID);
|
||||
if (!event_info->vdev) {
|
||||
scm_err("null vdev, vdev_id: %d, psoc: 0x%p", vdev_id, psoc);
|
||||
scm_err("null vdev, vdev_id: %d, psoc: 0x%pK", vdev_id, psoc);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
msg.bodyptr = event_info;
|
||||
|
|
|
|||
|
|
@ -262,7 +262,7 @@ ucfg_scan_get_pno_def_params(struct wlan_objmgr_vdev *vdev,
|
|||
struct pno_def_config *pno_def;
|
||||
|
||||
if (!vdev | !req | !scan) {
|
||||
scm_err("vdev: 0x%p, req: 0x%p scan_obj: 0x%p",
|
||||
scm_err("vdev: 0x%pK, req: 0x%pK scan_obj: 0x%pK",
|
||||
vdev, req, scan);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
|
@ -317,7 +317,7 @@ ucfg_scan_register_pno_cb(struct wlan_objmgr_psoc *psoc,
|
|||
scan->pno_cfg.pno_cb.func = event_cb;
|
||||
scan->pno_cfg.pno_cb.arg = arg;
|
||||
qdf_spin_unlock_bh(&scan->lock);
|
||||
scm_info("event_cb: 0x%p, arg: 0x%p", event_cb, arg);
|
||||
scm_info("event_cb: 0x%pK, arg: 0x%pK", event_cb, arg);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -418,7 +418,7 @@ ucfg_scan_start(struct scan_start_request *req)
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
scm_err("vdev: %p, req: %p", req->vdev, req);
|
||||
scm_err("vdev: %pK, req: %pK", req->vdev, req);
|
||||
if (req)
|
||||
scm_scan_free_scan_request_mem(req);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
|
|
@ -461,7 +461,7 @@ ucfg_scan_cancel(struct scan_cancel_request *req)
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
scm_err("vdev: %p, req: %p", req->vdev, req);
|
||||
scm_err("vdev: %pK, req: %pK", req->vdev, req);
|
||||
if (req)
|
||||
qdf_mem_free(req);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
|
|
@ -501,7 +501,7 @@ ucfg_scan_cancel_sync(struct scan_cancel_request *req)
|
|||
qdf_event_t cancel_scan_event;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
scm_err("vdev: %p, req: %p", req->vdev, req);
|
||||
scm_err("vdev: %pK, req: %pK", req->vdev, req);
|
||||
if (req)
|
||||
qdf_mem_free(req);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
|
|
@ -592,7 +592,7 @@ ucfg_scan_register_requester(struct wlan_objmgr_psoc *psoc,
|
|||
}
|
||||
}
|
||||
qdf_spin_unlock_bh(&scan->lock);
|
||||
scm_info("module: %s, event_cb: 0x%p, arg: 0x%p, reqid: %d",
|
||||
scm_info("module: %s, event_cb: 0x%pK, arg: 0x%pK, reqid: %d",
|
||||
name, event_cb, arg, requester);
|
||||
|
||||
return requester;
|
||||
|
|
@ -696,11 +696,11 @@ ucfg_scan_register_event_handler(struct wlan_objmgr_pdev *pdev,
|
|||
|
||||
/* scan event handler call back can't be NULL */
|
||||
if (!pdev || !event_cb) {
|
||||
scm_err("pdev: %p, event_cb: %p", pdev, event_cb);
|
||||
scm_err("pdev: %pK, event_cb: %pK", pdev, event_cb);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
scm_info("pdev: %p, event_cb: %p, arg: %p\n", pdev, event_cb, arg);
|
||||
scm_info("pdev: %pK, event_cb: %pK, arg: %pK\n", pdev, event_cb, arg);
|
||||
|
||||
scan = wlan_pdev_get_scan_obj(pdev);
|
||||
pdev_ev_handler = wlan_pdev_get_pdev_scan_ev_handlers(pdev);
|
||||
|
|
@ -713,7 +713,7 @@ ucfg_scan_register_event_handler(struct wlan_objmgr_pdev *pdev,
|
|||
if ((cb_handler->func == event_cb) &&
|
||||
(cb_handler->arg == arg)) {
|
||||
qdf_spin_unlock_bh(&scan->lock);
|
||||
scm_warn("func: %p, arg: %p already exists",
|
||||
scm_warn("func: %pK, arg: %pK already exists",
|
||||
event_cb, arg);
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -731,7 +731,7 @@ ucfg_scan_register_event_handler(struct wlan_objmgr_pdev *pdev,
|
|||
scm_add_scan_event_handler(pdev_ev_handler, event_cb, arg);
|
||||
qdf_spin_unlock_bh(&scan->lock);
|
||||
|
||||
scm_info("event_cb: 0x%p, arg: 0x%p", event_cb, arg);
|
||||
scm_info("event_cb: 0x%pK, arg: 0x%pK", event_cb, arg);
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
|
@ -814,7 +814,7 @@ ucfg_scan_unregister_event_handler(struct wlan_objmgr_pdev *pdev,
|
|||
struct cb_handler *cb_handler;
|
||||
struct pdev_scan_ev_handler *pdev_ev_handler;
|
||||
|
||||
scm_info("pdev: %p, event_cb: 0x%p, arg: 0x%p", pdev, event_cb, arg);
|
||||
scm_info("pdev: %pK, event_cb: 0x%pK, arg: 0x%pK", pdev, event_cb, arg);
|
||||
if (!pdev) {
|
||||
scm_err("null pdev");
|
||||
return;
|
||||
|
|
@ -897,7 +897,7 @@ ucfg_scan_init_default_params(struct wlan_objmgr_vdev *vdev,
|
|||
struct scan_default_params *def;
|
||||
|
||||
if (!vdev | !req) {
|
||||
scm_err("vdev: 0x%p, req: 0x%p", vdev, req);
|
||||
scm_err("vdev: 0x%pK, req: 0x%pK", vdev, req);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
def = wlan_vdev_get_def_scan_params(vdev);
|
||||
|
|
@ -1303,7 +1303,7 @@ ucfg_scan_psoc_open(struct wlan_objmgr_psoc *psoc)
|
|||
{
|
||||
struct wlan_scan_obj *scan_obj;
|
||||
|
||||
scm_info("psoc open: 0x%p", psoc);
|
||||
scm_info("psoc open: 0x%pK", psoc);
|
||||
if (!psoc) {
|
||||
scm_err("null psoc");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
@ -1326,7 +1326,7 @@ ucfg_scan_psoc_close(struct wlan_objmgr_psoc *psoc)
|
|||
{
|
||||
struct wlan_scan_obj *scan_obj;
|
||||
|
||||
scm_info("psoc close: 0x%p", psoc);
|
||||
scm_info("psoc close: 0x%pK", psoc);
|
||||
if (!psoc) {
|
||||
scm_err("null psoc");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
@ -1373,7 +1373,7 @@ ucfg_scan_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
scm_info("psoc enable: 0x%p", psoc);
|
||||
scm_info("psoc enable: 0x%pK", psoc);
|
||||
if (!psoc) {
|
||||
scm_err("null psoc");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
@ -1395,7 +1395,7 @@ ucfg_scan_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
scm_info("psoc disable: 0x%p", psoc);
|
||||
scm_info("psoc disable: 0x%pK", psoc);
|
||||
if (!psoc) {
|
||||
scm_err("null psoc");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
|
|||
|
|
@ -843,7 +843,7 @@ util_scan_entry_update_mlme_info(struct wlan_objmgr_pdev *pdev,
|
|||
{
|
||||
|
||||
if (!pdev || !scan_entry) {
|
||||
scm_err("pdev 0x%p, scan_entry: 0x%p", pdev, scan_entry);
|
||||
scm_err("pdev 0x%pK, scan_entry: 0x%pK", pdev, scan_entry);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -338,7 +338,7 @@ tdls_internal_add_peer_rsp(struct tdls_add_peer_request *req,
|
|||
QDF_STATUS ret;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("req: %p", req);
|
||||
tdls_err("req: %pK", req);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
vdev = req->vdev;
|
||||
|
|
@ -370,7 +370,7 @@ tdls_internal_update_peer_rsp(struct tdls_update_peer_request *req,
|
|||
QDF_STATUS ret;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("req: %p", req);
|
||||
tdls_err("req: %pK", req);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
vdev = req->vdev;
|
||||
|
|
@ -400,7 +400,7 @@ static QDF_STATUS tdls_internal_del_peer_rsp(struct tdls_oper_request *req)
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("req: %p", req);
|
||||
tdls_err("req: %pK", req);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
vdev = req->vdev;
|
||||
|
|
@ -442,7 +442,7 @@ static QDF_STATUS tdls_activate_add_peer(struct tdls_add_peer_request *req)
|
|||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(req->vdev);
|
||||
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc_obj: %p, vdev_obj: %p", soc_obj, vdev_obj);
|
||||
tdls_err("soc_obj: %pK, vdev_obj: %pK", soc_obj, vdev_obj);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
status = tdls_validate_current_mode(soc_obj);
|
||||
|
|
@ -516,12 +516,12 @@ tdls_add_peer_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!cmd || !cmd->umac_cmd) {
|
||||
tdls_err("cmd: %p, reason: %d", cmd, reason);
|
||||
tdls_err("cmd: %pK, reason: %d", cmd, reason);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
req = cmd->umac_cmd;
|
||||
tdls_debug("reason: %d, req %p", reason, req);
|
||||
tdls_debug("reason: %d, req %pK", reason, req);
|
||||
|
||||
switch (reason) {
|
||||
case WLAN_SER_CB_ACTIVATE_CMD:
|
||||
|
|
@ -806,7 +806,7 @@ QDF_STATUS tdls_process_add_peer(struct tdls_add_peer_request *req)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("req: %p", req);
|
||||
tdls_err("req: %pK", req);
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto error;
|
||||
}
|
||||
|
|
@ -822,7 +822,7 @@ QDF_STATUS tdls_process_add_peer(struct tdls_add_peer_request *req)
|
|||
cmd.vdev = vdev;
|
||||
|
||||
ser_cmd_status = wlan_serialization_request(&cmd);
|
||||
tdls_debug("req: 0x%p wlan_serialization_request status:%d", req,
|
||||
tdls_debug("req: 0x%pK wlan_serialization_request status:%d", req,
|
||||
ser_cmd_status);
|
||||
|
||||
switch (ser_cmd_status) {
|
||||
|
|
@ -880,7 +880,7 @@ tdls_activate_update_peer(struct tdls_update_peer_request *req)
|
|||
soc_obj = wlan_vdev_get_tdls_soc_obj(vdev);
|
||||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc_obj: %p, vdev_obj: %p", soc_obj, vdev_obj);
|
||||
tdls_err("soc_obj: %pK, vdev_obj: %pK", soc_obj, vdev_obj);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
|
|
@ -960,12 +960,12 @@ tdls_update_peer_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!cmd || !cmd->umac_cmd) {
|
||||
tdls_err("cmd: %p, reason: %d", cmd, reason);
|
||||
tdls_err("cmd: %pK, reason: %d", cmd, reason);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
req = cmd->umac_cmd;
|
||||
tdls_debug("reason: %d, req %p", reason, req);
|
||||
tdls_debug("reason: %d, req %pK", reason, req);
|
||||
|
||||
switch (reason) {
|
||||
case WLAN_SER_CB_ACTIVATE_CMD:
|
||||
|
|
@ -1014,7 +1014,7 @@ QDF_STATUS tdls_process_update_peer(struct tdls_update_peer_request *req)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("req: %p", req);
|
||||
tdls_err("req: %pK", req);
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
goto error;
|
||||
}
|
||||
|
|
@ -1031,7 +1031,7 @@ QDF_STATUS tdls_process_update_peer(struct tdls_update_peer_request *req)
|
|||
cmd.vdev = req->vdev;
|
||||
|
||||
ser_cmd_status = wlan_serialization_request(&cmd);
|
||||
tdls_debug("req: 0x%p wlan_serialization_request status:%d", req,
|
||||
tdls_debug("req: 0x%pK wlan_serialization_request status:%d", req,
|
||||
ser_cmd_status);
|
||||
|
||||
switch (ser_cmd_status) {
|
||||
|
|
@ -1084,12 +1084,12 @@ tdls_del_peer_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!cmd || !cmd->umac_cmd) {
|
||||
tdls_err("cmd: %p, reason: %d", cmd, reason);
|
||||
tdls_err("cmd: %pK, reason: %d", cmd, reason);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
req = cmd->umac_cmd;
|
||||
tdls_debug("reason: %d, req %p", reason, req);
|
||||
tdls_debug("reason: %d, req %pK", reason, req);
|
||||
|
||||
switch (reason) {
|
||||
case WLAN_SER_CB_ACTIVATE_CMD:
|
||||
|
|
@ -1136,7 +1136,7 @@ QDF_STATUS tdls_process_del_peer(struct tdls_oper_request *req)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("req: %p", req);
|
||||
tdls_err("req: %pK", req);
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto error;
|
||||
}
|
||||
|
|
@ -1152,7 +1152,7 @@ QDF_STATUS tdls_process_del_peer(struct tdls_oper_request *req)
|
|||
cmd.vdev = vdev;
|
||||
|
||||
ser_cmd_status = wlan_serialization_request(&cmd);
|
||||
tdls_debug("req: 0x%p wlan_serialization_request status:%d", req,
|
||||
tdls_debug("req: 0x%pK wlan_serialization_request status:%d", req,
|
||||
ser_cmd_status);
|
||||
|
||||
switch (ser_cmd_status) {
|
||||
|
|
@ -1256,7 +1256,7 @@ QDF_STATUS tdls_process_send_mgmt_rsp(struct tdls_send_mgmt_rsp *rsp)
|
|||
tdls_soc = wlan_psoc_get_tdls_soc_obj(psoc);
|
||||
tdls_vdev = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
if (!tdls_soc || !tdls_vdev) {
|
||||
tdls_err("soc object:%p, vdev object:%p", tdls_soc, tdls_vdev);
|
||||
tdls_err("soc object:%pK, vdev object:%pK", tdls_soc, tdls_vdev);
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
|
|
@ -1311,7 +1311,7 @@ QDF_STATUS tdls_send_mgmt_tx_completion(
|
|||
tdls_vdev = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
|
||||
if (!tdls_soc || !tdls_vdev) {
|
||||
tdls_err("soc object:%p, vdev object:%p", tdls_soc, tdls_vdev);
|
||||
tdls_err("soc object:%pK, vdev object:%pK", tdls_soc, tdls_vdev);
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
|
|
@ -1356,7 +1356,7 @@ static QDF_STATUS tdls_add_peer_rsp(struct tdls_add_sta_rsp *rsp)
|
|||
soc_obj = wlan_psoc_get_tdls_soc_obj(psoc);
|
||||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc object:%p, vdev object:%p", soc_obj, vdev_obj);
|
||||
tdls_err("soc object:%pK, vdev object:%pK", soc_obj, vdev_obj);
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
goto cmddone;
|
||||
}
|
||||
|
|
@ -1449,7 +1449,7 @@ QDF_STATUS tdls_process_del_peer_rsp(struct tdls_del_sta_rsp *rsp)
|
|||
soc_obj = wlan_psoc_get_tdls_soc_obj(psoc);
|
||||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc object:%p, vdev object:%p", soc_obj, vdev_obj);
|
||||
tdls_err("soc object:%pK, vdev object:%pK", soc_obj, vdev_obj);
|
||||
status = QDF_STATUS_E_FAILURE;
|
||||
goto cmddone;
|
||||
}
|
||||
|
|
@ -1622,7 +1622,7 @@ QDF_STATUS tdls_process_enable_link(struct tdls_oper_request *req)
|
|||
soc_obj = wlan_vdev_get_tdls_soc_obj(vdev);
|
||||
|
||||
if (!vdev_obj || !soc_obj) {
|
||||
tdls_err("tdls vdev_obj: %p soc_obj: %p", vdev_obj, soc_obj);
|
||||
tdls_err("tdls vdev_obj: %pK soc_obj: %pK", vdev_obj, soc_obj);
|
||||
status = QDF_STATUS_E_NULL_VALUE;
|
||||
goto error;
|
||||
}
|
||||
|
|
@ -1734,7 +1734,7 @@ static QDF_STATUS tdls_config_force_peer(
|
|||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
soc_obj = wlan_vdev_get_tdls_soc_obj(vdev);
|
||||
if (!pdev || !vdev_obj || !soc_obj) {
|
||||
tdls_err("pdev: %p, vdev_obj: %p, soc_obj: %p",
|
||||
tdls_err("pdev: %pK, vdev_obj: %pK, soc_obj: %pK",
|
||||
pdev, vdev_obj, soc_obj);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
|
@ -1876,7 +1876,7 @@ QDF_STATUS tdls_process_remove_force_peer(struct tdls_oper_request *req)
|
|||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(req->vdev);
|
||||
soc_obj = wlan_vdev_get_tdls_soc_obj(req->vdev);
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc_obj: %p, vdev_obj: %p", soc_obj, vdev_obj);
|
||||
tdls_err("soc_obj: %pK, vdev_obj: %pK", soc_obj, vdev_obj);
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto error;
|
||||
}
|
||||
|
|
@ -1988,7 +1988,7 @@ QDF_STATUS tdls_process_should_discover(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_MAC_ADDR_ARRAY(evt->peermac.bytes),
|
||||
evt->peer_reason);
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc_obj: %p, vdev_obj: %p, ignore %s",
|
||||
tdls_err("soc_obj: %pK, vdev_obj: %pK, ignore %s",
|
||||
soc_obj, vdev_obj, tdls_evt_to_str(type));
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -2045,7 +2045,7 @@ QDF_STATUS tdls_process_should_teardown(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_MAC_ADDR_ARRAY(evt->peermac.bytes), evt->peer_reason);
|
||||
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc_obj: %p, vdev_obj: %p, ignore %s",
|
||||
tdls_err("soc_obj: %pK, vdev_obj: %pK, ignore %s",
|
||||
soc_obj, vdev_obj, tdls_evt_to_str(type));
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -2090,7 +2090,7 @@ QDF_STATUS tdls_process_connection_tracker_notify(struct wlan_objmgr_vdev *vdev,
|
|||
vdev_obj = wlan_vdev_get_tdls_vdev_obj(vdev);
|
||||
|
||||
if (!soc_obj || !vdev_obj) {
|
||||
tdls_err("soc_obj: %p, vdev_obj: %p, ignore %s",
|
||||
tdls_err("soc_obj: %pK, vdev_obj: %pK, ignore %s",
|
||||
soc_obj, vdev_obj, tdls_evt_to_str(type));
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -2138,7 +2138,7 @@ int tdls_set_responder(struct tdls_set_responder_req *set_req)
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!set_req || !set_req->vdev) {
|
||||
tdls_err("Invalid input params %p", set_req);
|
||||
tdls_err("Invalid input params %pK", set_req);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -515,7 +515,7 @@ void tdls_indicate_teardown(struct tdls_vdev_priv_obj *tdls_vdev,
|
|||
|
||||
tdls_soc = wlan_vdev_get_tdls_soc_obj(tdls_vdev->vdev);
|
||||
if (!tdls_soc || !tdls_vdev || !curr_peer) {
|
||||
tdls_err("tdls_soc: %p, tdls_vdev: %p, curr_peer: %p",
|
||||
tdls_err("tdls_soc: %pK, tdls_vdev: %pK, curr_peer: %pK",
|
||||
tdls_soc, tdls_vdev, curr_peer);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ QDF_STATUS tdls_process_cmd(struct scheduler_msg *msg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
tdls_err("msg: 0x%p", msg);
|
||||
tdls_err("msg: 0x%pK", msg);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -307,7 +307,7 @@ QDF_STATUS tdls_process_evt(struct scheduler_msg *msg)
|
|||
struct tdls_event_info *event;
|
||||
|
||||
if (!msg || !msg->bodyptr) {
|
||||
tdls_err("msg is not valid: %p", msg);
|
||||
tdls_err("msg is not valid: %pK", msg);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
notify = msg->bodyptr;
|
||||
|
|
@ -602,7 +602,7 @@ QDF_STATUS
|
|||
tdls_process_policy_mgr_notification(struct wlan_objmgr_psoc *psoc)
|
||||
{
|
||||
if (!psoc) {
|
||||
tdls_err("psoc: %p", psoc);
|
||||
tdls_err("psoc: %pK", psoc);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
tdls_debug("enter ");
|
||||
|
|
@ -1252,7 +1252,7 @@ static QDF_STATUS tdls_post_scan_done_msg(struct tdls_soc_priv_obj *tdls_soc)
|
|||
struct scheduler_msg msg = {0, };
|
||||
|
||||
if (!tdls_soc) {
|
||||
tdls_err("tdls_soc: %p ", tdls_soc);
|
||||
tdls_err("tdls_soc: %pK ", tdls_soc);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -98,7 +98,7 @@ static QDF_STATUS tdls_process_rx_mgmt(
|
|||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
tdls_debug("soc:%p, frame_len:%d, rx_chan:%d, vdev_id:%d, frm_type:%d, rx_rssi:%d, buf:%p",
|
||||
tdls_debug("soc:%pK, frame_len:%d, rx_chan:%d, vdev_id:%d, frm_type:%d, rx_rssi:%d, buf:%pK",
|
||||
tdls_soc_obj->soc, rx_mgmt->frame_len,
|
||||
rx_mgmt->rx_chan, rx_mgmt->vdev_id, rx_mgmt->frm_type,
|
||||
rx_mgmt->rx_rssi, rx_mgmt->buf);
|
||||
|
|
@ -176,7 +176,7 @@ QDF_STATUS tdls_mgmt_rx_ops(struct wlan_objmgr_psoc *psoc,
|
|||
QDF_STATUS status;
|
||||
int num_of_entries;
|
||||
|
||||
tdls_debug("psoc:%p, is register rx:%d", psoc, isregister);
|
||||
tdls_debug("psoc:%pK, is register rx:%d", psoc, isregister);
|
||||
|
||||
frm_cb_info.frm_type = MGMT_ACTION_TDLS_DISCRESP;
|
||||
frm_cb_info.mgmt_rx_cb = tgt_tdls_mgmt_frame_rx_cb;
|
||||
|
|
@ -321,7 +321,7 @@ tdls_send_mgmt_serialize_callback(struct wlan_serialization_command *cmd,
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!cmd || !cmd->umac_cmd) {
|
||||
tdls_err("invalid params cmd: %p, ", cmd);
|
||||
tdls_err("invalid params cmd: %pK, ", cmd);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
req = cmd->umac_cmd;
|
||||
|
|
|
|||
|
|
@ -473,7 +473,7 @@ void tdls_extract_peer_state_param(struct tdls_peer_update_state *peer_param,
|
|||
soc_obj = wlan_vdev_get_tdls_soc_obj(vdev_obj->vdev);
|
||||
pdev = wlan_vdev_get_pdev(vdev_obj->vdev);
|
||||
if (!soc_obj || !pdev) {
|
||||
tdls_err("soc_obj: %p, pdev: %p", soc_obj, pdev);
|
||||
tdls_err("soc_obj: %pK, pdev: %pK", soc_obj, pdev);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ QDF_STATUS tgt_tdls_send_mgmt_tx_completion(struct scheduler_msg *pmsg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!pmsg || !pmsg->bodyptr) {
|
||||
tdls_err("msg: 0x%p", pmsg);
|
||||
tdls_err("msg: 0x%pK", pmsg);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ QDF_STATUS tgt_tdls_send_mgmt_rsp(struct scheduler_msg *pmsg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!pmsg || !pmsg->bodyptr) {
|
||||
tdls_err("msg: 0x%p", pmsg);
|
||||
tdls_err("msg: 0x%pK", pmsg);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -122,7 +122,7 @@ QDF_STATUS tgt_tdls_add_peer_rsp(struct scheduler_msg *pmsg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!pmsg || !pmsg->bodyptr) {
|
||||
tdls_err("msg: 0x%p", pmsg);
|
||||
tdls_err("msg: 0x%pK", pmsg);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -137,7 +137,7 @@ QDF_STATUS tgt_tdls_del_peer_rsp(struct scheduler_msg *pmsg)
|
|||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!pmsg || !pmsg->bodyptr) {
|
||||
tdls_err("msg: 0x%p", pmsg);
|
||||
tdls_err("msg: 0x%pK", pmsg);
|
||||
QDF_ASSERT(0);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -179,7 +179,7 @@ tgt_tdls_event_handler(struct wlan_objmgr_psoc *psoc,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!psoc || !info) {
|
||||
tdls_err("psoc: 0x%p, info: 0x%p", psoc, info);
|
||||
tdls_err("psoc: 0x%pK, info: 0x%pK", psoc, info);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
tdls_debug("vdev: %d, type: %d, reason: %d" QDF_MAC_ADDRESS_STR,
|
||||
|
|
@ -196,7 +196,7 @@ tgt_tdls_event_handler(struct wlan_objmgr_psoc *psoc,
|
|||
wlan_objmgr_get_vdev_by_id_from_psoc(psoc,
|
||||
vdev_id, WLAN_TDLS_SB_ID);
|
||||
if (!notify->vdev) {
|
||||
tdls_err("null vdev, vdev_id: %d, psoc: 0x%p", vdev_id, psoc);
|
||||
tdls_err("null vdev, vdev_id: %d, psoc: 0x%pK", vdev_id, psoc);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
qdf_mem_copy(¬ify->event, info, sizeof(*info));
|
||||
|
|
@ -298,16 +298,16 @@ QDF_STATUS tgt_tdls_mgmt_frame_rx_cb(
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
tdls_debug("psoc:%p, peer:%p, type:%d", psoc, peer, frm_type);
|
||||
tdls_debug("psoc:%pK, peer:%pK, type:%d", psoc, peer, frm_type);
|
||||
|
||||
|
||||
if (!buf) {
|
||||
tdls_err("rx frame buff is null buf:%p", buf);
|
||||
tdls_err("rx frame buff is null buf:%pK", buf);
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
if (!mgmt_rx_params || !psoc) {
|
||||
tdls_err("input is NULL mgmt_rx_params:%p psoc:%p, peer:%p",
|
||||
tdls_err("input is NULL mgmt_rx_params:%pK psoc:%pK, peer:%pK",
|
||||
mgmt_rx_params, psoc, peer);
|
||||
status = QDF_STATUS_E_INVAL;
|
||||
goto release_nbuf;
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ QDF_STATUS ucfg_tdls_update_config(struct wlan_objmgr_psoc *psoc,
|
|||
|
||||
tdls_notice("tdls update config ");
|
||||
if (!psoc || !req) {
|
||||
tdls_err("psoc: 0x%p, req: 0x%p", psoc, req);
|
||||
tdls_err("psoc: 0x%pK, req: 0x%pK", psoc, req);
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
|
|
@ -248,7 +248,7 @@ QDF_STATUS ucfg_tdls_psoc_enable(struct wlan_objmgr_psoc *psoc)
|
|||
{
|
||||
QDF_STATUS status;
|
||||
|
||||
tdls_notice("psoc tdls enable: 0x%p", psoc);
|
||||
tdls_notice("psoc tdls enable: 0x%pK", psoc);
|
||||
if (!psoc) {
|
||||
tdls_err("NULL psoc");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
@ -281,7 +281,7 @@ QDF_STATUS ucfg_tdls_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
|||
QDF_STATUS status;
|
||||
struct tdls_soc_priv_obj *soc_obj = NULL;
|
||||
|
||||
tdls_notice("psoc tdls disable: 0x%p", psoc);
|
||||
tdls_notice("psoc tdls disable: 0x%pK", psoc);
|
||||
if (!psoc) {
|
||||
tdls_err("NULL psoc");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
|
|
@ -337,7 +337,7 @@ QDF_STATUS ucfg_tdls_add_peer(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!vdev || !add_peer_req) {
|
||||
tdls_err("vdev: %p, req %p", vdev, add_peer_req);
|
||||
tdls_err("vdev: %pK, req %pK", vdev, add_peer_req);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
tdls_debug("vdevid: %d, peertype: %d",
|
||||
|
|
@ -383,7 +383,7 @@ QDF_STATUS ucfg_tdls_update_peer(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!vdev || !update_peer) {
|
||||
tdls_err("vdev: %p, update_peer: %p", vdev, update_peer);
|
||||
tdls_err("vdev: %pK, update_peer: %pK", vdev, update_peer);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
|
|
@ -443,7 +443,7 @@ QDF_STATUS ucfg_tdls_oper(struct wlan_objmgr_vdev *vdev,
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!vdev || !macaddr) {
|
||||
tdls_err("vdev: %p, mac %p", vdev, macaddr);
|
||||
tdls_err("vdev: %pK, mac %pK", vdev, macaddr);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
|
|
@ -490,7 +490,7 @@ QDF_STATUS ucfg_tdls_send_mgmt_frame(
|
|||
struct tdls_action_frame_request *mgmt_req;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("Invalid mgmt req params %p", req);
|
||||
tdls_err("Invalid mgmt req params %pK", req);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
|
|
@ -529,7 +529,7 @@ QDF_STATUS ucfg_tdls_responder(struct tdls_set_responder_req *req)
|
|||
QDF_STATUS status;
|
||||
|
||||
if (!req || !req->vdev) {
|
||||
tdls_err("invalid input %p", req);
|
||||
tdls_err("invalid input %pK", req);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
|
|
@ -593,7 +593,7 @@ QDF_STATUS ucfg_tdls_notify_sta_connect(
|
|||
struct tdls_sta_notify_params *notify;
|
||||
|
||||
if (!notify_info || !notify_info->vdev) {
|
||||
tdls_err("notify_info->vdev: %p, notify_info %p",
|
||||
tdls_err("notify_info->vdev: %pK, notify_info %pK",
|
||||
notify_info->vdev, notify_info);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -625,7 +625,7 @@ QDF_STATUS ucfg_tdls_notify_sta_disconnect(
|
|||
struct tdls_sta_notify_params *notify;
|
||||
|
||||
if (!notify_info || !notify_info->vdev) {
|
||||
tdls_err("notify_info->vdev: %p, notify_info %p",
|
||||
tdls_err("notify_info->vdev: %pK, notify_info %pK",
|
||||
notify_info->vdev, notify_info);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
@ -659,7 +659,7 @@ QDF_STATUS ucfg_tdls_set_operating_mode(
|
|||
struct tdls_set_mode_params *set_mode;
|
||||
|
||||
if (!set_mode_params || !set_mode_params->vdev) {
|
||||
tdls_err("vdev: %p, set_mode_params %p",
|
||||
tdls_err("vdev: %pK, set_mode_params %pK",
|
||||
set_mode_params->vdev, set_mode_params);
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue