diff --git a/scheduler/inc/scheduler_core.h b/scheduler/inc/scheduler_core.h index 680ac2094f..0fe8d48675 100644 --- a/scheduler/inc/scheduler_core.h +++ b/scheduler/inc/scheduler_core.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2019 The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2020 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -95,11 +95,11 @@ struct scheduler_mq_ctx { * @resume_sch_event: scheduler resume wait event * @sch_thread_lock: scheduler thread lock * @sch_last_qidx: scheduler last qidx allocation + * @watchdog_msg_type: 'type' of the current msg being processed * @hdd_callback: os if suspend callback * @legacy_wma_handler: legacy wma message handler * @legacy_sys_handler: legacy sys message handler * @watchdog_timer: timer for triggering a scheduler watchdog bite - * @watchdog_msg_type: 'type' of the current msg being processed * @watchdog_callback: the callback of the current msg being processed */ struct scheduler_ctx { @@ -112,11 +112,11 @@ struct scheduler_ctx { qdf_event_t resume_sch_event; qdf_spinlock_t sch_thread_lock; uint8_t sch_last_qidx; + uint16_t watchdog_msg_type; hdd_suspend_callback hdd_callback; scheduler_msg_process_fn_t legacy_wma_handler; scheduler_msg_process_fn_t legacy_sys_handler; qdf_timer_t watchdog_timer; - uint16_t watchdog_msg_type; void *watchdog_callback; }; diff --git a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h index aa2ea680d2..3ea38ae23a 100644 --- a/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h +++ b/umac/cmn_services/obj_mgr/inc/wlan_objmgr_vdev_obj.h @@ -255,11 +255,11 @@ struct wlan_vdev_create_params { * struct wlan_channel - channel structure * @ch_freq: Channel in Mhz. * @ch_ieee: IEEE channel number. - * @ch_flags: Channel flags. - * @ch_flagext: Channel extension flags. - * @ch_maxpower: Maximum tx power in dBm. * @ch_freq_seg1: Channel Center frequeny for VHT80/160 and HE80/160. * @ch_freq_seg2: Second channel Center frequency applicable for 80+80MHz mode. + * @ch_maxpower: Maximum tx power in dBm. + * @ch_flagext: Channel extension flags. + * @ch_flags: Channel flags. * @ch_cfreq1: channel center frequency for primary * @ch_cfreq2: channel center frequency for secondary * @ch_width: Channel width. @@ -268,11 +268,11 @@ struct wlan_vdev_create_params { struct wlan_channel { uint16_t ch_freq; uint8_t ch_ieee; - uint64_t ch_flags; - uint16_t ch_flagext; - int8_t ch_maxpower; uint8_t ch_freq_seg1; uint8_t ch_freq_seg2; + int8_t ch_maxpower; + uint16_t ch_flagext; + uint64_t ch_flags; uint32_t ch_cfreq1; uint32_t ch_cfreq2; enum phy_ch_width ch_width;