Searched refs:channel (Results 1 - 25 of 32) sorted by relevance

12

/net/irda/
H A Dirda_device.c305 * Setup the DMA channel. Commonly used by LPC FIR drivers
308 void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) argument
314 disable_dma(channel);
315 clear_dma_ff(channel);
316 set_dma_mode(channel, mode);
317 set_dma_addr(channel, buffer);
318 set_dma_count(channel, count);
319 enable_dma(channel);
/net/mac80211/
H A Dethtool.c44 "channel", "noise", "ch_time", "ch_time_busy",
70 struct ieee80211_channel *channel; local
147 /* Get survey stats for current channel */
153 channel = chanctx_conf->def.chan;
155 channel = NULL;
158 if (channel) {
167 } while (channel != survey.channel);
171 data[i++] = survey.channel->center_freq;
H A Dmlme.c152 struct ieee80211_channel *channel,
162 chandef->chan = channel;
164 chandef->center_freq1 = channel->center_freq;
181 channel->band);
182 /* check that channel matches the right operating channel */
183 if (!tracking && channel->center_freq != ht_cfreq) {
187 * the actual channel in association responses, but
192 "Wrong control channel: center-freq: %d ht-cfreq: %d ht->primary_chan: %d band: %d - Disabling HT\n",
193 channel
150 ieee80211_determine_chantype(struct ieee80211_sub_if_data *sdata, struct ieee80211_supported_band *sband, struct ieee80211_channel *channel, const struct ieee80211_ht_cap *ht_cap, const struct ieee80211_ht_operation *ht_oper, const struct ieee80211_vht_operation *vht_oper, struct cfg80211_chan_def *chandef, bool tracking) argument
467 ieee80211_add_ht_ie(struct ieee80211_sub_if_data *sdata, struct sk_buff *skb, u8 ap_ht_param, struct ieee80211_supported_band *sband, struct ieee80211_channel *channel, enum ieee80211_smps_mode smps) argument
1176 ieee80211_find_80211h_pwr_constr(struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *channel, const u8 *country_ie, u8 country_ie_len, const u8 *pwr_constr_elem, int *chan_pwr, int *pwr_reduction) argument
1234 ieee80211_find_cisco_dtpc(struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *channel, const u8 *cisco_dtpc_ie, int *pwr_level) argument
1248 ieee80211_handle_pwr_constr(struct ieee80211_sub_if_data *sdata, struct ieee80211_channel *channel, struct ieee80211_mgmt *mgmt, const u8 *country_ie, u8 country_ie_len, const u8 *pwr_constr_ie, const u8 *cisco_dtpc_ie) argument
2909 struct ieee80211_channel *channel; local
[all...]
H A Dscan.c64 struct ieee80211_channel *channel)
84 cbss = cfg80211_inform_bss_width_frame(local->hw.wiphy, channel,
171 struct ieee80211_channel *channel; local
204 channel = ieee80211_get_channel(local->hw.wiphy, rx_status->freq);
206 if (!channel || channel->flags & IEEE80211_CHAN_DISABLED)
211 channel);
366 /* Software scan is not supported in multi-channel cases */
374 * listening, then send probe requests to each channel and wait for
376 * original channel an
60 ieee80211_bss_info_update(struct ieee80211_local *local, struct ieee80211_rx_status *rx_status, struct ieee80211_mgmt *mgmt, size_t len, struct ieee802_11_elems *elems, struct ieee80211_channel *channel) argument
[all...]
H A Dibss.c287 "Failed to join IBSS, DFS channel without control program\n");
298 sdata_info(sdata, "Failed to join IBSS, no channel context\n");
412 cfg80211_chandef_create(&chandef, cbss->channel, chan_type);
416 cfg80211_chandef_create(&chandef, cbss->channel,
422 cfg80211_chandef_create(&chandef, cbss->channel,
427 sband = sdata->local->hw.wiphy->bands[cbss->channel->band];
532 /* update cfg80211 bss information with the new channel */
547 cbss->channel = sdata->csa_chandef.chan;
767 /* if the current channel is a DFS channel, mar
992 struct ieee80211_channel *channel; local
[all...]
H A Dmesh.c438 struct ieee80211_channel *channel; local
451 channel = chanctx_conf->def.chan;
454 sband = local->hw.wiphy->bands[channel->band];
891 "mesh STA %pM switches to unsupported channel (%d MHz, width:%d, CF1/2: %d/%d MHz), aborting\n",
919 "received channel switch announcement to go to channel %d MHz\n",
1009 struct ieee80211_channel *channel; local
1037 channel = ieee80211_get_channel(local->hw.wiphy, freq);
1039 if (!channel || channel
[all...]
/net/bluetooth/rfcomm/
H A Dsock.c108 static struct sock *__rfcomm_get_listen_sock_by_addr(u8 channel, bdaddr_t *src) argument
113 if (rfcomm_pi(sk)->channel != channel)
126 /* Find socket with channel and source bdaddr.
129 static struct sock *rfcomm_get_sock_by_channel(int state, u8 channel, bdaddr_t *src) argument
139 if (rfcomm_pi(sk)->channel == channel) {
366 rfcomm_pi(sk)->channel = chan;
404 rfcomm_pi(sk)->channel = sa->rc_channel;
439 if (!rfcomm_pi(sk)->channel) {
441 u8 channel; local
950 rfcomm_connect_ind(struct rfcomm_session *s, u8 channel, struct rfcomm_dlc **d) argument
[all...]
H A Dtty.c59 u8 channel; member in struct:rfcomm_dev
116 err = rfcomm_dlc_open(dev->dlc, &dev->src, &dev->dst, dev->channel);
210 return sprintf(buf, "%d\n", dev->channel);
214 static DEVICE_ATTR(channel, S_IRUGO, show_channel, NULL);
266 dev->channel = req->channel;
322 BT_DBG("id %d channel %d", req->dev_id, req->channel);
345 BT_ERR("Failed to create channel attribute");
412 /* Validate the channel i
[all...]
H A Dcore.c364 static int rfcomm_check_channel(u8 channel) argument
366 return channel < 1 || channel > 30;
369 static int __rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) argument
375 BT_DBG("dlc %p state %ld %pMR -> %pMR channel %d",
376 d, d->state, src, dst, channel);
378 if (rfcomm_check_channel(channel))
391 dlci = __dlci(!s->initiator, channel);
423 int rfcomm_dlc_open(struct rfcomm_dlc *d, bdaddr_t *src, bdaddr_t *dst, u8 channel) argument
429 r = __rfcomm_dlc_open(d, src, dst, channel);
534 rfcomm_dlc_exists(bdaddr_t *src, bdaddr_t *dst, u8 channel) argument
1328 u8 channel; local
1425 u8 channel = __srv_channel(dlci); local
[all...]
/net/wireless/
H A Dscan.c29 * channel, MESHID, MESHCONF (for MBSSes) or channel, BSSID, SSID
440 if (a->channel != b->channel)
441 return b->channel->center_freq - a->channel->center_freq;
533 struct ieee80211_channel *channel,
542 trace_cfg80211_get_bss(wiphy, channel, bssid, ssid, ssid_len, capa_mask,
550 if (channel && bss->pub.channel !
532 cfg80211_get_bss(struct wiphy *wiphy, struct ieee80211_channel *channel, const u8 *bssid, const u8 *ssid, size_t ssid_len, u16 capa_mask, u16 capa_val) argument
852 cfg80211_get_bss_channel(struct wiphy *wiphy, const u8 *ie, size_t ielen, struct ieee80211_channel *channel) argument
894 struct ieee80211_channel *channel; local
969 struct ieee80211_channel *channel; local
[all...]
H A Dsme.c72 if (wdev->conn->params.channel)
83 if (wdev->conn->params.channel)
84 request->channels[0] = wdev->conn->params.channel;
89 struct ieee80211_channel *channel; local
96 channel = &bands->channels[j];
97 if (channel->flags & IEEE80211_CHAN_DISABLED)
99 request->channels[i++] = channel;
156 params->channel, params->auth_type,
180 err = cfg80211_mlme_assoc(rdev, wdev->netdev, params->channel,
258 bss = cfg80211_get_bss(wdev->wiphy, wdev->conn->params.channel,
779 cfg80211_roamed(struct net_device *dev, struct ieee80211_channel *channel, const u8 *bssid, const u8 *req_ie, size_t req_ie_len, const u8 *resp_ie, size_t resp_ie_len, gfp_t gfp) argument
[all...]
H A Dibss.c18 struct ieee80211_channel *channel)
32 bss = cfg80211_get_bss(wdev->wiphy, channel, bssid, NULL, 0,
58 struct ieee80211_channel *channel, gfp_t gfp)
65 trace_cfg80211_ibss_joined(dev, bssid, channel);
67 if (WARN_ON(!channel))
76 ev->ij.channel = channel;
247 /* try to find an IBSS channel if none requested ... */
379 chan = wdev->current_bss->pub.channel;
390 /* no channel i
17 __cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, struct ieee80211_channel *channel) argument
57 cfg80211_ibss_joined(struct net_device *dev, const u8 *bssid, struct ieee80211_channel *channel, gfp_t gfp) argument
[all...]
H A Dwext-sme.c95 if (wdev->wext.connect.channel == chan) {
110 wdev->wext.connect.channel = chan;
113 * SSID is not set, we just want to switch monitor channel,
115 * is set then we use the channel to select the BSS to use
117 * channel we disconnected above and reconnect below.
152 chan = wdev->current_bss->pub.channel;
153 else if (wdev->wext.connect.channel)
154 chan = wdev->wext.connect.channel;
163 /* no channel if not joining */
H A Dreg.c229 /* IEEE 802.11 channel 14 - Only JP enables
234 /* IEEE 802.11a, channel 36..48 */
238 /* IEEE 802.11a, channel 52..64 - DFS required */
243 /* IEEE 802.11a, channel 100..144 - DFS required */
248 /* IEEE 802.11a, channel 149..165 */
702 * Pertaining to operation in a frequency band containing a channel
936 * want to just have the channel structure use these
1063 * Note that right now we assume the desired channel bandwidth
1064 * is always 20 MHz for each individual channel (HT40 uses 20 MHz
1065 * per channel, th
1418 reg_process_ht_flags_channel(struct wiphy *wiphy, struct ieee80211_channel *channel) argument
[all...]
H A Dchan.c2 * This file contains helper code to handle channel
82 /* adjacent is not allowed -- that's a 160 MHz channel */
195 /* otherwise, must have same control channel */
399 * (require CAC). Allow DFS and non-DFS channel mix.
470 * If any channel in between is disabled or has not
674 * userspace, for example for P2P channel selection.
697 * For GO only, check if the channel can be used under permissive conditions
698 * mandated by the some regulatory bodies, i.e., the channel is marked with
700 * associated to an AP on the same channel or on the same UNII band
702 * In addition allow the GO to operate on a channel o
[all...]
H A Dcore.h218 struct ieee80211_channel *channel; member in struct:cfg80211_event::__anon176::__anon180
270 struct ieee80211_channel *channel);
400 * @chandef: the channel definition to check
402 * Checks if chandef is usable and we can/need start CAC on such channel.
405 * one channel require CAC (NL80211_DFS_USABLE)
H A Dtrace.h1526 CHAN_ASSIGN(info->channel);
1537 ", channel time: %llu, channel time busy: %llu, "
1538 "channel time extension busy: %llu, channel time rx: %llu, "
1539 "channel time tx: %llu, filled: %u, noise: %d",
2008 CHAN_ASSIGN(bss->channel);
2323 struct ieee80211_channel *channel),
2324 TP_ARGS(netdev, bssid, channel),
2333 CHAN_ASSIGN(channel);
[all...]
/net/mac802154/
H A Dmac_cmd.c38 u8 channel, u8 page,
51 mac802154_dev_set_page_channel(dev, page, channel);
36 mac802154_mlme_start_req(struct net_device *dev, struct ieee802154_addr *addr, u8 channel, u8 page, u8 bcn_ord, u8 sf_ord, u8 pan_coord, u8 blx, u8 coord_realign) argument
/net/bluetooth/
H A Dhci_sock.c46 unsigned short channel; member in struct:hci_pinfo
148 if (hci_pi(sk)->channel == HCI_CHANNEL_RAW) {
151 } else if (hci_pi(sk)->channel == HCI_CHANNEL_USER) {
159 /* Don't send frame to other channel types */
205 if (hci_pi(sk)->channel != HCI_CHANNEL_CONTROL)
262 if (hci_pi(sk)->channel != HCI_CHANNEL_MONITOR)
308 if (hci_pi(sk)->channel != HCI_CHANNEL_MONITOR)
468 if (hci_pi(sk)->channel == HCI_CHANNEL_MONITOR)
474 if (hci_pi(sk)->channel == HCI_CHANNEL_USER) {
582 if (hci_pi(sk)->channel !
[all...]
/net/rxrpc/
H A Dar-call.c436 candidate->channel = ntohl(hdr->cid) & RXRPC_CHANNELMASK;
444 /* set the channel for this call */
445 call = conn->channels[candidate->channel];
446 _debug("channel[%u] is %p", candidate->channel, call);
468 /* it seems the channel is still in use from the previous call
474 conn->channels[call->channel] = NULL;
509 conn->channels[call->channel] = call;
647 /* free up the channel for reuse */
652 if (conn->channels[call->channel]
[all...]
H A Dar-connection.c392 /* we've got a connection with a free channel and we can now attach the
406 call->channel = chan;
577 /* we've got a connection with a free channel and we can now attach the
595 call->channel = chan;
H A Dar-internal.h227 wait_queue_head_t chanwait; /* wait for channel to become available */
370 u8 channel; /* connection channel occupied by this call */ member in struct:rxrpc_call
405 __be32 cid; /* connection ID + channel index */
/net/ipv6/
H A DKconfig145 another protocol and sending it over a channel that understands the
158 another protocol and sending it over a channel that understands the
202 another protocol and sending it over a channel that understands the
/net/netfilter/
H A Dnf_conntrack_h323_main.c389 H2250LogicalChannelParameters *channel)
393 if (channel->options & eH2250LogicalChannelParameters_mediaChannel) {
396 &channel->mediaChannel);
401 if (channel->
405 &channel->mediaControlChannel);
384 process_h245_channel(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H2250LogicalChannelParameters *channel) argument
/net/ieee802154/
H A Dnl-mac.c472 /* PANid, channel, beacon_order = 15, superframe_order = 15,
481 u8 channel, bcn_ord, sf_ord; local
509 channel = nla_get_u8(info->attrs[IEEE802154_ATTR_CHANNEL]);
528 ret = ieee802154_mlme_ops(dev)->start_req(dev, &addr, channel, page,

Completed in 268 milliseconds

12