Lines Matching defs:arg
356 struct wsm_set_tx_rate_retry_policy arg = {
366 &arg.tbl[arg.num];
376 ++arg.num;
381 pr_debug("[TX policy] Upload %d policies\n", arg.num);
382 return wsm_set_tx_rate_retry_policy(priv, &arg);
852 struct wsm_tx_confirm *arg)
854 u8 queue_id = cw1200_queue_get_queue_id(arg->packet_id);
860 arg->status, arg->ack_failures);
870 if (arg->status)
871 pr_debug("TX failed: %d.\n", arg->status);
873 if ((arg->status == WSM_REQUEUE) &&
874 (arg->flags & WSM_TX_STATUS_REQUEUE)) {
884 cw1200_queue_get_generation(arg->packet_id) + 1,
886 cw1200_queue_requeue(queue, arg->packet_id);
896 } else if (!cw1200_queue_get_skb(queue, arg->packet_id,
899 int tx_count = arg->ack_failures;
908 arg->packet_id == priv->bss_loss_confirm_id) {
909 if (arg->status) {
919 if (!arg->status) {
923 if (arg->flags & WSM_TX_STATUS_AGGREGATION) {
956 cw1200_queue_remove(queue, arg->packet_id);
1004 struct wsm_rx *arg,
1054 if (arg->status) {
1055 if (arg->status == WSM_STATUS_MICFAILURE) {
1058 } else if (arg->status == WSM_STATUS_NO_KEY_FOUND) {
1063 arg->status);
1077 hdr->band = ((arg->channel_number & 0xff00) ||
1078 (arg->channel_number > 14)) ?
1081 arg->channel_number,
1084 if (arg->rx_rate >= 14) {
1086 hdr->rate_idx = arg->rx_rate - 14;
1087 } else if (arg->rx_rate >= 4) {
1088 hdr->rate_idx = arg->rx_rate - 2;
1090 hdr->rate_idx = arg->rx_rate;
1093 hdr->signal = (s8)arg->rcpi_rssi;
1098 if (WSM_RX_STATUS_ENCRYPTION(arg->flags)) {
1106 switch (WSM_RX_STATUS_ENCRYPTION(arg->flags)) {
1127 WSM_RX_STATUS_ENCRYPTION(arg->flags));
1132 if (arg->status == WSM_STATUS_MICFAILURE)
1147 if (arg->flags & WSM_RX_STATUS_TSF_INCLUDED) {
1157 if (arg->flags & WSM_RX_STATUS_AGGREGATE)
1161 (arg->flags & WSM_RX_STATUS_ADDRESS1)) {
1165 !arg->status && priv->vif &&