1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31#ifndef __iwl_dev_h__
32#define __iwl_dev_h__
33
34#include <linux/interrupt.h>
35#include <linux/kernel.h>
36#include <linux/wait.h>
37#include <linux/leds.h>
38#include <linux/slab.h>
39#include <linux/mutex.h>
40
41#include "iwl-fw.h"
42#include "iwl-eeprom-parse.h"
43#include "iwl-csr.h"
44#include "iwl-debug.h"
45#include "iwl-agn-hw.h"
46#include "iwl-op-mode.h"
47#include "iwl-notif-wait.h"
48#include "iwl-trans.h"
49
50#include "led.h"
51#include "power.h"
52#include "rs.h"
53#include "tt.h"
54
55#include "iwl-test.h"
56
57
58#define CT_KILL_THRESHOLD_LEGACY 110
59#define CT_KILL_THRESHOLD 114
60#define CT_KILL_EXIT_THRESHOLD 95
61
62
63
64
65
66
67
68
69
70
71
72#define IWL_NOISE_MEAS_NOT_AVAILABLE (-127)
73
74
75
76
77
78
79
80
81
82#define DEFAULT_RTS_THRESHOLD 2347U
83#define MIN_RTS_THRESHOLD 0U
84#define MAX_RTS_THRESHOLD 2347U
85#define MAX_MSDU_SIZE 2304U
86#define MAX_MPDU_SIZE 2346U
87#define DEFAULT_BEACON_INTERVAL 200U
88#define DEFAULT_SHORT_RETRY_LIMIT 7U
89#define DEFAULT_LONG_RETRY_LIMIT 4U
90
91#define IWL_NUM_SCAN_RATES (2)
92
93
94#define IEEE80211_DATA_LEN 2304
95#define IEEE80211_4ADDR_LEN 30
96#define IEEE80211_HLEN (IEEE80211_4ADDR_LEN)
97#define IEEE80211_FRAME_LEN (IEEE80211_DATA_LEN + IEEE80211_HLEN)
98
99#define SUP_RATE_11A_MAX_NUM_CHANNELS 8
100#define SUP_RATE_11B_MAX_NUM_CHANNELS 4
101#define SUP_RATE_11G_MAX_NUM_CHANNELS 12
102
103#define IWL_SUPPORTED_RATES_IE_LEN 8
104
105#define IWL_INVALID_RATE 0xFF
106#define IWL_INVALID_VALUE -1
107
108union iwl_ht_rate_supp {
109 u16 rates;
110 struct {
111 u8 siso_rate;
112 u8 mimo_rate;
113 };
114};
115
116struct iwl_ht_config {
117 bool single_chain_sufficient;
118 enum ieee80211_smps_mode smps;
119};
120
121
122struct iwl_qos_info {
123 int qos_active;
124 struct iwl_qosparam_cmd def_qos_parm;
125};
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141enum iwl_agg_state {
142 IWL_AGG_OFF = 0,
143 IWL_AGG_STARTING,
144 IWL_AGG_ON,
145 IWL_EMPTYING_HW_QUEUE_ADDBA,
146 IWL_EMPTYING_HW_QUEUE_DELBA,
147};
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167struct iwl_ht_agg {
168 u32 rate_n_flags;
169 enum iwl_agg_state state;
170 u16 txq_id;
171 u16 ssn;
172 bool wait_for_ba;
173};
174
175
176
177
178
179
180
181
182
183
184
185struct iwl_tid_data {
186 u16 seq_number;
187 u16 next_reclaimed;
188 struct iwl_ht_agg agg;
189};
190
191
192
193
194
195
196
197struct iwl_station_entry {
198 struct iwl_addsta_cmd sta;
199 u8 used, ctxid;
200 struct iwl_link_quality_cmd *lq;
201};
202
203
204
205
206
207
208
209
210struct iwl_station_priv {
211 struct iwl_rxon_context *ctx;
212 struct iwl_lq_sta lq_sta;
213 atomic_t pending_frames;
214 bool client;
215 bool asleep;
216 u8 max_agg_bufsize;
217 u8 sta_id;
218};
219
220
221
222
223
224
225
226struct iwl_vif_priv {
227 struct iwl_rxon_context *ctx;
228 u8 ibss_bssid_sta_id;
229};
230
231struct iwl_sensitivity_ranges {
232 u16 min_nrg_cck;
233
234 u16 nrg_th_cck;
235 u16 nrg_th_ofdm;
236
237 u16 auto_corr_min_ofdm;
238 u16 auto_corr_min_ofdm_mrc;
239 u16 auto_corr_min_ofdm_x1;
240 u16 auto_corr_min_ofdm_mrc_x1;
241
242 u16 auto_corr_max_ofdm;
243 u16 auto_corr_max_ofdm_mrc;
244 u16 auto_corr_max_ofdm_x1;
245 u16 auto_corr_max_ofdm_mrc_x1;
246
247 u16 auto_corr_max_cck;
248 u16 auto_corr_max_cck_mrc;
249 u16 auto_corr_min_cck;
250 u16 auto_corr_min_cck_mrc;
251
252 u16 barker_corr_th_min;
253 u16 barker_corr_th_min_mrc;
254 u16 nrg_th_cca;
255};
256
257
258#define KELVIN_TO_CELSIUS(x) ((x)-273)
259#define CELSIUS_TO_KELVIN(x) ((x)+273)
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275extern void iwl_update_chain_flags(struct iwl_priv *priv);
276extern const u8 iwl_bcast_addr[ETH_ALEN];
277
278#define IWL_OPERATION_MODE_AUTO 0
279#define IWL_OPERATION_MODE_HT_ONLY 1
280#define IWL_OPERATION_MODE_MIXED 2
281#define IWL_OPERATION_MODE_20MHZ 3
282
283#define TX_POWER_IWL_ILLEGAL_VOLTAGE -10000
284
285
286#define INITIALIZATION_VALUE 0xFFFF
287#define IWL_CAL_NUM_BEACONS 16
288#define MAXIMUM_ALLOWED_PATHLOSS 15
289
290#define CHAIN_NOISE_MAX_DELTA_GAIN_CODE 3
291
292#define MAX_FA_OFDM 50
293#define MIN_FA_OFDM 5
294#define MAX_FA_CCK 50
295#define MIN_FA_CCK 5
296
297#define AUTO_CORR_STEP_OFDM 1
298
299#define AUTO_CORR_STEP_CCK 3
300#define AUTO_CORR_MAX_TH_CCK 160
301
302#define NRG_DIFF 2
303#define NRG_STEP_CCK 2
304#define NRG_MARGIN 8
305#define MAX_NUMBER_CCK_NO_FA 100
306
307#define AUTO_CORR_CCK_MIN_VAL_DEF (125)
308
309#define CHAIN_A 0
310#define CHAIN_B 1
311#define CHAIN_C 2
312#define CHAIN_NOISE_DELTA_GAIN_INIT_VAL 4
313#define ALL_BAND_FILTER 0xFF00
314#define IN_BAND_FILTER 0xFF
315#define MIN_AVERAGE_NOISE_MAX_VALUE 0xFFFFFFFF
316
317#define NRG_NUM_PREV_STAT_L 20
318#define NUM_RX_CHAINS 3
319
320enum iwlagn_false_alarm_state {
321 IWL_FA_TOO_MANY = 0,
322 IWL_FA_TOO_FEW = 1,
323 IWL_FA_GOOD_RANGE = 2,
324};
325
326enum iwlagn_chain_noise_state {
327 IWL_CHAIN_NOISE_ALIVE = 0,
328 IWL_CHAIN_NOISE_ACCUMULATE,
329 IWL_CHAIN_NOISE_CALIBRATED,
330 IWL_CHAIN_NOISE_DONE,
331};
332
333
334struct iwl_sensitivity_data {
335 u32 auto_corr_ofdm;
336 u32 auto_corr_ofdm_mrc;
337 u32 auto_corr_ofdm_x1;
338 u32 auto_corr_ofdm_mrc_x1;
339 u32 auto_corr_cck;
340 u32 auto_corr_cck_mrc;
341
342 u32 last_bad_plcp_cnt_ofdm;
343 u32 last_fa_cnt_ofdm;
344 u32 last_bad_plcp_cnt_cck;
345 u32 last_fa_cnt_cck;
346
347 u32 nrg_curr_state;
348 u32 nrg_prev_state;
349 u32 nrg_value[10];
350 u8 nrg_silence_rssi[NRG_NUM_PREV_STAT_L];
351 u32 nrg_silence_ref;
352 u32 nrg_energy_idx;
353 u32 nrg_silence_idx;
354 u32 nrg_th_cck;
355 s32 nrg_auto_corr_silence_diff;
356 u32 num_in_cck_no_fa;
357 u32 nrg_th_ofdm;
358
359 u16 barker_corr_th_min;
360 u16 barker_corr_th_min_mrc;
361 u16 nrg_th_cca;
362};
363
364
365struct iwl_chain_noise_data {
366 u32 active_chains;
367 u32 chain_noise_a;
368 u32 chain_noise_b;
369 u32 chain_noise_c;
370 u32 chain_signal_a;
371 u32 chain_signal_b;
372 u32 chain_signal_c;
373 u16 beacon_count;
374 u8 disconn_array[NUM_RX_CHAINS];
375 u8 delta_gain_code[NUM_RX_CHAINS];
376 u8 radio_write;
377 u8 state;
378};
379
380enum {
381 MEASUREMENT_READY = (1 << 0),
382 MEASUREMENT_ACTIVE = (1 << 1),
383};
384
385
386struct reply_tx_error_statistics {
387 u32 pp_delay;
388 u32 pp_few_bytes;
389 u32 pp_bt_prio;
390 u32 pp_quiet_period;
391 u32 pp_calc_ttak;
392 u32 int_crossed_retry;
393 u32 short_limit;
394 u32 long_limit;
395 u32 fifo_underrun;
396 u32 drain_flow;
397 u32 rfkill_flush;
398 u32 life_expire;
399 u32 dest_ps;
400 u32 host_abort;
401 u32 bt_retry;
402 u32 sta_invalid;
403 u32 frag_drop;
404 u32 tid_disable;
405 u32 fifo_flush;
406 u32 insuff_cf_poll;
407 u32 fail_hw_drop;
408 u32 sta_color_mismatch;
409 u32 unknown;
410};
411
412
413struct reply_agg_tx_error_statistics {
414 u32 underrun;
415 u32 bt_prio;
416 u32 few_bytes;
417 u32 abort;
418 u32 last_sent_ttl;
419 u32 last_sent_try;
420 u32 last_sent_bt_kill;
421 u32 scd_query;
422 u32 bad_crc32;
423 u32 response;
424 u32 dump_tx;
425 u32 delay_tx;
426 u32 unknown;
427};
428
429
430
431
432
433#define UCODE_TRACE_PERIOD (10)
434
435
436
437
438
439
440
441
442
443
444
445
446struct iwl_event_log {
447 bool ucode_trace;
448 u32 num_wraps;
449 u32 next_entry;
450 int non_wraps_count;
451 int wraps_once_count;
452 int wraps_more_count;
453};
454
455#define IWL_DELAY_NEXT_FORCE_RF_RESET (HZ*3)
456
457
458#define IWL_BT_ANTENNA_COUPLING_THRESHOLD (35)
459
460
461#define IWL_MIN_RELOAD_DURATION 1000
462#define IWL_MAX_CONTINUE_RELOAD_CNT 4
463
464
465struct iwl_rf_reset {
466 int reset_request_count;
467 int reset_success_count;
468 int reset_reject_count;
469 unsigned long last_reset_jiffies;
470};
471
472enum iwl_rxon_context_id {
473 IWL_RXON_CTX_BSS,
474 IWL_RXON_CTX_PAN,
475
476 NUM_IWL_RXON_CTX
477};
478
479
480
481
482
483
484
485#define IWLAGN_EXT_BEACON_TIME_POS 22
486
487struct iwl_rxon_context {
488 struct ieee80211_vif *vif;
489
490 u8 mcast_queue;
491 u8 ac_to_queue[IEEE80211_NUM_ACS];
492 u8 ac_to_fifo[IEEE80211_NUM_ACS];
493
494
495
496
497
498
499 bool always_active, is_active;
500
501 bool ht_need_multiple_chains;
502
503 enum iwl_rxon_context_id ctxid;
504
505 u32 interface_modes, exclusive_interface_modes;
506 u8 unused_devtype, ap_devtype, ibss_devtype, station_devtype;
507
508
509
510
511
512
513
514 const struct iwl_rxon_cmd active;
515 struct iwl_rxon_cmd staging;
516
517 struct iwl_rxon_time_cmd timing;
518
519 struct iwl_qos_info qos_data;
520
521 u8 bcast_sta_id, ap_sta_id;
522
523 u8 rxon_cmd, rxon_assoc_cmd, rxon_timing_cmd;
524 u8 qos_cmd;
525 u8 wep_key_cmd;
526
527 struct iwl_wep_key wep_keys[WEP_KEYS_MAX];
528 u8 key_mapping_keys;
529
530 __le32 station_flags;
531
532 int beacon_int;
533
534 struct {
535 bool non_gf_sta_present;
536 u8 protection;
537 bool enabled, is_40mhz;
538 u8 extension_chan_offset;
539 } ht;
540};
541
542enum iwl_scan_type {
543 IWL_SCAN_NORMAL,
544 IWL_SCAN_RADIO_RESET,
545 IWL_SCAN_ROC,
546};
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561struct iwl_hw_params {
562 u8 tx_chains_num;
563 u8 rx_chains_num;
564 bool use_rts_for_aggregation;
565 u32 ct_kill_threshold;
566 u32 ct_kill_exit_threshold;
567
568 const struct iwl_sensitivity_ranges *sens;
569};
570
571struct iwl_lib_ops {
572
573 void (*set_hw_params)(struct iwl_priv *priv);
574 int (*set_channel_switch)(struct iwl_priv *priv,
575 struct ieee80211_channel_switch *ch_switch);
576
577 void (*nic_config)(struct iwl_priv *priv);
578
579
580 void (*temperature)(struct iwl_priv *priv);
581};
582
583struct iwl_wipan_noa_data {
584 struct rcu_head rcu_head;
585 u32 length;
586 u8 data[];
587};
588
589
590enum {
591 IWL_CALIB_ENABLE_ALL = 0,
592
593 IWL_SENSITIVITY_CALIB_DISABLED = BIT(0),
594 IWL_CHAIN_NOISE_CALIB_DISABLED = BIT(1),
595 IWL_TX_POWER_CALIB_DISABLED = BIT(2),
596
597 IWL_CALIB_DISABLE_ALL = 0xFFFFFFFF,
598};
599
600#define IWL_OP_MODE_GET_DVM(_iwl_op_mode) \
601 ((struct iwl_priv *) ((_iwl_op_mode)->op_mode_specific))
602
603#define IWL_MAC80211_GET_DVM(_hw) \
604 ((struct iwl_priv *) ((struct iwl_op_mode *) \
605 (_hw)->priv)->op_mode_specific)
606
607struct iwl_priv {
608
609 struct iwl_trans *trans;
610 struct device *dev;
611 const struct iwl_cfg *cfg;
612 const struct iwl_fw *fw;
613 const struct iwl_lib_ops *lib;
614 unsigned long status;
615
616 spinlock_t sta_lock;
617 struct mutex mutex;
618
619 unsigned long transport_queue_stop;
620 bool passive_no_rx;
621#define IWL_INVALID_MAC80211_QUEUE 0xff
622 u8 queue_to_mac80211[IWL_MAX_HW_QUEUES];
623 atomic_t queue_stop_count[IWL_MAX_HW_QUEUES];
624
625 unsigned long agg_q_alloc[BITS_TO_LONGS(IWL_MAX_HW_QUEUES)];
626
627
628 struct ieee80211_hw *hw;
629
630 struct list_head calib_results;
631
632 struct workqueue_struct *workqueue;
633
634 struct iwl_hw_params hw_params;
635
636 enum ieee80211_band band;
637 u8 valid_contexts;
638
639 int (*rx_handlers[REPLY_MAX])(struct iwl_priv *priv,
640 struct iwl_rx_cmd_buffer *rxb,
641 struct iwl_device_cmd *cmd);
642
643 struct iwl_notif_wait_data notif_wait;
644
645
646 struct iwl_spectrum_notification measure_report;
647 u8 measurement_status;
648
649#define IWL_OWNERSHIP_DRIVER 0
650#define IWL_OWNERSHIP_TM 1
651 u8 ucode_owner;
652
653
654 u32 ucode_beacon_time;
655 int missed_beacon_threshold;
656
657
658 u32 ibss_manager;
659
660
661 unsigned long rx_statistics_jiffies;
662
663
664 u32 rx_handlers_stats[REPLY_MAX];
665
666
667 struct iwl_rf_reset rf_reset;
668
669
670 unsigned long reload_jiffies;
671 int reload_count;
672 bool ucode_loaded;
673 bool init_ucode_run;
674
675 u8 plcp_delta_threshold;
676
677
678 s32 temperature;
679 s32 last_temperature;
680
681 struct iwl_wipan_noa_data __rcu *noa_data;
682
683
684 unsigned long scan_start;
685 unsigned long scan_start_tsf;
686 void *scan_cmd;
687 enum ieee80211_band scan_band;
688 struct cfg80211_scan_request *scan_request;
689 struct ieee80211_vif *scan_vif;
690 enum iwl_scan_type scan_type;
691 u8 scan_tx_ant[IEEE80211_NUM_BANDS];
692 u8 mgmt_tx_ant;
693
694
695 u8 sta_key_max_num;
696
697 bool new_scan_threshold_behaviour;
698
699 bool wowlan;
700
701
702 struct mac_address addresses[2];
703
704 struct iwl_rxon_context contexts[NUM_IWL_RXON_CTX];
705
706 __le16 switch_channel;
707
708 u8 start_calib;
709 struct iwl_sensitivity_data sensitivity_data;
710 struct iwl_chain_noise_data chain_noise_data;
711 __le16 sensitivity_tbl[HD_TABLE_SIZE];
712 __le16 enhance_sensitivity_tbl[ENHANCE_HD_TABLE_ENTRIES];
713
714 struct iwl_ht_config current_ht_config;
715
716
717 u8 retry_rate;
718
719 int activity_timer_active;
720
721 struct iwl_power_mgr power_data;
722 struct iwl_tt_mgmt thermal_throttle;
723
724
725 int num_stations;
726 struct iwl_station_entry stations[IWLAGN_STATION_COUNT];
727 unsigned long ucode_key_table;
728 struct iwl_tid_data tid_data[IWLAGN_STATION_COUNT][IWL_MAX_TID_COUNT];
729 atomic_t num_aux_in_flight;
730
731 u8 mac80211_registered;
732
733
734 u8 is_open;
735
736 enum nl80211_iftype iw_mode;
737
738
739 u64 timestamp;
740
741 struct {
742 __le32 flag;
743 struct statistics_general_common common;
744 struct statistics_rx_non_phy rx_non_phy;
745 struct statistics_rx_phy rx_ofdm;
746 struct statistics_rx_ht_phy rx_ofdm_ht;
747 struct statistics_rx_phy rx_cck;
748 struct statistics_tx tx;
749#ifdef CONFIG_IWLWIFI_DEBUGFS
750 struct statistics_bt_activity bt_activity;
751 __le32 num_bt_kills, accum_num_bt_kills;
752#endif
753 spinlock_t lock;
754 } statistics;
755#ifdef CONFIG_IWLWIFI_DEBUGFS
756 struct {
757 struct statistics_general_common common;
758 struct statistics_rx_non_phy rx_non_phy;
759 struct statistics_rx_phy rx_ofdm;
760 struct statistics_rx_ht_phy rx_ofdm_ht;
761 struct statistics_rx_phy rx_cck;
762 struct statistics_tx tx;
763 struct statistics_bt_activity bt_activity;
764 } accum_stats, delta_stats, max_delta_stats;
765#endif
766
767
768
769
770
771 u8 agg_tids_count;
772
773 struct iwl_rx_phy_res last_phy_res;
774 u32 ampdu_ref;
775 bool last_phy_res_valid;
776
777
778
779
780
781
782 u8 phy_calib_chain_noise_reset_cmd;
783 u8 phy_calib_chain_noise_gain_cmd;
784
785
786 struct reply_tx_error_statistics reply_tx_stats;
787 struct reply_agg_tx_error_statistics reply_agg_tx_stats;
788
789
790 struct ieee80211_channel *hw_roc_channel;
791 struct delayed_work hw_roc_disable_work;
792 int hw_roc_duration;
793 bool hw_roc_setup, hw_roc_start_notified;
794
795
796 u8 bt_enable_flag;
797 u8 bt_status;
798 u8 bt_traffic_load, last_bt_traffic_load;
799 bool bt_ch_announce;
800 bool bt_full_concurrent;
801 bool bt_ant_couple_ok;
802 __le32 kill_ack_mask;
803 __le32 kill_cts_mask;
804 __le16 bt_valid;
805 bool reduced_txpower;
806 u16 bt_on_thresh;
807 u16 bt_duration;
808 u16 dynamic_frag_thresh;
809 u8 bt_ci_compliance;
810 struct work_struct bt_traffic_change_work;
811 bool bt_enable_pspoll;
812 struct iwl_rxon_context *cur_rssi_ctx;
813 bool bt_is_sco;
814
815 struct work_struct restart;
816 struct work_struct scan_completed;
817 struct work_struct abort_scan;
818
819 struct work_struct beacon_update;
820 struct iwl_rxon_context *beacon_ctx;
821 struct sk_buff *beacon_skb;
822 void *beacon_cmd;
823
824 struct work_struct tt_work;
825 struct work_struct ct_enter;
826 struct work_struct ct_exit;
827 struct work_struct start_internal_scan;
828 struct work_struct tx_flush;
829 struct work_struct bt_full_concurrency;
830 struct work_struct bt_runtime_config;
831
832 struct delayed_work scan_check;
833
834
835 s8 tx_power_user_lmt;
836 s8 tx_power_next;
837
838#ifdef CONFIG_IWLWIFI_DEBUGFS
839
840 struct dentry *debugfs_dir;
841 u32 dbgfs_sram_offset, dbgfs_sram_len;
842 bool disable_ht40;
843 void *wowlan_sram;
844#endif
845
846 struct iwl_nvm_data *nvm_data;
847
848 u8 *eeprom_blob;
849 size_t eeprom_blob_size;
850
851 struct work_struct txpower_work;
852 u32 calib_disabled;
853 struct work_struct run_time_calib_work;
854 struct timer_list statistics_periodic;
855 struct timer_list ucode_trace;
856
857 struct iwl_event_log event_log;
858
859 struct led_classdev led;
860 unsigned long blink_on, blink_off;
861 bool led_registered;
862
863#ifdef CONFIG_IWLWIFI_DEVICE_TESTMODE
864 struct iwl_test tst;
865 u32 tm_fixed_rate;
866#endif
867
868
869 u8 kck[NL80211_KCK_LEN], kek[NL80211_KEK_LEN];
870 __le64 replay_ctr;
871 __le16 last_seq_ctl;
872 bool have_rekey_data;
873
874
875 struct {
876 u32 error_event_table;
877 u32 log_event_table;
878 } device_pointers;
879
880
881 enum iwl_ucode_type cur_ucode;
882};
883
884static inline struct iwl_rxon_context *
885iwl_rxon_ctx_from_vif(struct ieee80211_vif *vif)
886{
887 struct iwl_vif_priv *vif_priv = (void *)vif->drv_priv;
888
889 return vif_priv->ctx;
890}
891
892#define for_each_context(priv, ctx) \
893 for (ctx = &priv->contexts[IWL_RXON_CTX_BSS]; \
894 ctx < &priv->contexts[NUM_IWL_RXON_CTX]; ctx++) \
895 if (priv->valid_contexts & BIT(ctx->ctxid))
896
897static inline int iwl_is_associated_ctx(struct iwl_rxon_context *ctx)
898{
899 return (ctx->active.filter_flags & RXON_FILTER_ASSOC_MSK) ? 1 : 0;
900}
901
902static inline int iwl_is_associated(struct iwl_priv *priv,
903 enum iwl_rxon_context_id ctxid)
904{
905 return iwl_is_associated_ctx(&priv->contexts[ctxid]);
906}
907
908static inline int iwl_is_any_associated(struct iwl_priv *priv)
909{
910 struct iwl_rxon_context *ctx;
911 for_each_context(priv, ctx)
912 if (iwl_is_associated_ctx(ctx))
913 return true;
914 return false;
915}
916
917#endif
918