## 1 Introduction  
The growing trend in smart factories encompasses both the IoT and WSN technologies, which impose new challenges for industrial safety, operation, and maintenance. Several technologies converge at the IoT, such as WSNs, real-time computing, embedded systems, and actuators [1]. By 2022, circa 62% of the world's connected devices will adopt IoT technologies [2]. In 2020, there were 21 billion IoT devices, a number that may double by 2025 [3]. This accelerated growth entails new challenges.  
One challenge consists in improving _security_. In the first half of 2019, attacks on IoT-based devices increased by more than 300% [3]. One of the most aggressive attacks on energy consumption is jamming, which distorts the sending and receiving frequencies using heavy noise levels [4]. These attacks on Industrial Wireless Sensor Networks (IWSN) seek to deteriorate communication between network nodes by issuing proactive and reactive signals without following specific protocols [5]. Jamming attacks must be detected and mitigated quickly to maintain security and reduce energy consumption. The optimal maintenance of the data transmission by the sensors that are part of a WSN is imperative for optimizing the devices used for maintaining industrial machines, automating home appliances, monitoring healthcare, livestock, and crops, observing traffic, public transport, or pollution at a smart city, as well as for detecting potential fires and controlling energy consumption. Databases must receive secure information for decision-making. The early detection of jamming plays a relevant role to secure the data that the sensors collect and store.  
Another challenge is keeping low operating and maintenance _costs_. According to [PERSON] [6] and [PERSON] [7], applications with WSNs provide higher reliability, availability, resilience, ease of installation, and coverage than wired networks. The most common metrics that impact the reduction of maintenance costs in a WSN are reliability and availability. _Reliability_ indicates the probability of performing a required function or operation under certain conditions within given time intervals [8]. A high percentage of the Packet Delivery Ratio (PDR) metric indicates high reliability as the network takes little time to discover routes, has few retransmissions, and has a low hop count. Reliability is achieved by having available routes, maintaining a low hop count, quickly transmitting the packets, and maintaining a routing table that handles the proper packet traffic. On the other hand, _availability_ means the ability of a system to be in a state in which it can execute an operation or function at a given moment or within a given time interval [8]. Reducing the delay times in the hops obtains the availability of WSN for a faster diagnosis and recovery time and keeping valid routes for as long as possible, consequently achieving fewer retransmissions, consuming less energy in sending packages, and reducing the uptime of the sensors. A good level of the Received Signal Strength Indicator (RSSI) metric and the Link Quality Indicator (LQI) indicate that there would be greater availability, which is evident in a rapid diagnosis and recovery of the network from a jamming attack.  
Realizing the importance of having proposals to increase WSN security, we have generated the following question: _Which configuration helps more to protect a WSN from jamming?_